diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-08-05 16:28:27 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-08-06 16:22:44 +0200 |
commit | a63b465adb8ede7b62f60285b8cd30daa5e4afd0 (patch) | |
tree | 9af7e4bdf290b8a5bafa7de4e2975e0653fed371 /applications/luci-app-openvpn/luasrc/controller | |
parent | d3e060ae6c3698f9ae7089ad22faa85de60091fc (diff) |
luci-app-openvpn: move to new vpn menu section
Move the app openvpn to the new vpn menu section.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/controller')
-rw-r--r-- | applications/luci-app-openvpn/luasrc/controller/openvpn.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/applications/luci-app-openvpn/luasrc/controller/openvpn.lua b/applications/luci-app-openvpn/luasrc/controller/openvpn.lua index c9a932d870..55c29d1c2a 100644 --- a/applications/luci-app-openvpn/luasrc/controller/openvpn.lua +++ b/applications/luci-app-openvpn/luasrc/controller/openvpn.lua @@ -5,11 +5,11 @@ module("luci.controller.openvpn", package.seeall) function index() - entry( {"admin", "services", "openvpn"}, cbi("openvpn"), _("OpenVPN") ) - entry( {"admin", "services", "openvpn", "basic"}, cbi("openvpn-basic"), nil ).leaf = true - entry( {"admin", "services", "openvpn", "advanced"}, cbi("openvpn-advanced"), nil ).leaf = true - entry( {"admin", "services", "openvpn", "file"}, form("openvpn-file"), nil ).leaf = true - entry( {"admin", "services", "openvpn", "upload"}, call("ovpn_upload")) + entry( {"admin", "vpn", "openvpn"}, cbi("openvpn"), _("OpenVPN") ) + entry( {"admin", "vpn", "openvpn", "basic"}, cbi("openvpn-basic"), nil ).leaf = true + entry( {"admin", "vpn", "openvpn", "advanced"}, cbi("openvpn-advanced"), nil ).leaf = true + entry( {"admin", "vpn", "openvpn", "file"}, form("openvpn-file"), nil ).leaf = true + entry( {"admin", "vpn", "openvpn", "upload"}, call("ovpn_upload")) end function ovpn_upload() @@ -50,5 +50,5 @@ function ovpn_upload() end end end - http.redirect(luci.dispatcher.build_url('admin/services/openvpn')) + http.redirect(luci.dispatcher.build_url('admin/vpn/openvpn')) end |