summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-01-11 16:46:24 +0200
committerGitHub <noreply@github.com>2018-01-11 16:46:24 +0200
commit74eaa6bedfa80b7382259bd6c93302d55d2d8073 (patch)
tree45acc01c0d90e1a32ad4be64694e5ad1916c5bdf /applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
parent43867a89689e8928f63b59066be827248a6ce0f7 (diff)
parente40282cb382987b3d3e223c8f158924044283f71 (diff)
Merge pull request #1526 from TDT-AG/pr/20180111-luci-app-mwan3-refactoring
luci-app-mwan3: refactoring
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua')
-rw-r--r--applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
index 9cb4756fc8..586f174b28 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
@@ -50,11 +50,11 @@ mwan_rule = m5:section(TypedSection, "rule", translate("Traffic Rules"),
mwan_rule.sectionhead = translate("Rule")
mwan_rule.sortable = true
mwan_rule.template = "cbi/tblsection"
- mwan_rule.extedit = dsp.build_url("admin", "network", "mwan", "configuration", "rule", "%s")
+ mwan_rule.extedit = dsp.build_url("admin", "network", "mwan", "rule", "%s")
function mwan_rule.create(self, section)
TypedSection.create(self, section)
m5.uci:save("mwan3")
- luci.http.redirect(dsp.build_url("admin", "network", "mwan", "configuration", "rule", section))
+ luci.http.redirect(dsp.build_url("admin", "network", "mwan", "rule", section))
end