luci-app-firewall: dispatch SimpleForm model using the form() action
authorJo-Philipp Wich <jo@mein.io>
Fri, 6 Apr 2018 09:52:36 +0000 (11:52 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 6 Apr 2018 10:07:49 +0000 (12:07 +0200)
This fixes issues dicovered by check-controllers.sh

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-firewall/luasrc/controller/firewall.lua

index 5a6ab0ad310b2cbc2db697297b512e317cd8430a..4fe7770efc55ab1f9aae31cebceb707487a1c2c5 100644 (file)
@@ -18,6 +18,6 @@ function index()
                _("Traffic Rules"), 30).leaf = true
 
        entry({"admin", "network", "firewall", "custom"},
-               cbi("firewall/custom"),
+               form("firewall/custom"),
                _("Custom Rules"), 40).leaf = true
 end