summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-08-05 16:28:27 +0200
committerFlorian Eckert <fe@dev.tdt.de>2019-08-06 16:22:44 +0200
commita63b465adb8ede7b62f60285b8cd30daa5e4afd0 (patch)
tree9af7e4bdf290b8a5bafa7de4e2975e0653fed371 /applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua
parentd3e060ae6c3698f9ae7089ad22faa85de60091fc (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/model/cbi/openvpn.lua')
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua
index 41266d860..9164f7f60 100644
--- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua
+++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua
@@ -18,9 +18,9 @@ local cfg = s:option(DummyValue, "config")
function cfg.cfgvalue(self, section)
local file_cfg = self.map:get(section, "config")
if file_cfg then
- s.extedit = luci.dispatcher.build_url("admin", "services", "openvpn", "file", "%s")
+ s.extedit = luci.dispatcher.build_url("admin", "vpn", "openvpn", "file", "%s")
else
- s.extedit = luci.dispatcher.build_url("admin", "services", "openvpn", "basic", "%s")
+ s.extedit = luci.dispatcher.build_url("admin", "vpn", "openvpn", "basic", "%s")
end
end
@@ -117,7 +117,7 @@ end
local updown = s:option( Button, "_updown", translate("Start/Stop") )
updown._state = false
updown.redirect = luci.dispatcher.build_url(
- "admin", "services", "openvpn"
+ "admin", "vpn", "openvpn"
)
function updown.cbid(self, section)
local pid = s.getPID(section)