diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-12-06 21:59:52 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-12-16 18:07:17 +0100 |
commit | 566a99591b9dd49f1736982a52e17d76f877fa76 (patch) | |
tree | a0df6c6241e112f5f891323e869814039bd3cb62 /applications/luci-app-firewall/luasrc/controller | |
parent | 16853bcd2e4224c281731adbfa490d704784ec20 (diff) |
luci-app-firewall: convert controller to static menu JSON
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-firewall/luasrc/controller')
-rw-r--r-- | applications/luci-app-firewall/luasrc/controller/firewall.lua | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/applications/luci-app-firewall/luasrc/controller/firewall.lua b/applications/luci-app-firewall/luasrc/controller/firewall.lua deleted file mode 100644 index 5f8cb6ef31..0000000000 --- a/applications/luci-app-firewall/luasrc/controller/firewall.lua +++ /dev/null @@ -1,19 +0,0 @@ -module("luci.controller.firewall", package.seeall) - -function index() - entry({"admin", "network", "firewall"}, - alias("admin", "network", "firewall", "zones"), - _("Firewall"), 60) - - entry({"admin", "network", "firewall", "zones"}, - view("firewall/zones"), _("General Settings"), 10) - - entry({"admin", "network", "firewall", "forwards"}, - view("firewall/forwards"), _("Port Forwards"), 20) - - entry({"admin", "network", "firewall", "rules"}, - view("firewall/rules"), _("Traffic Rules"), 30) - - entry({"admin", "network", "firewall", "custom"}, - view("firewall/custom"), _("Custom Rules"), 40).leaf = true -end |