summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-04-06 12:10:16 +0200
committerJo-Philipp Wich <jo@mein.io>2018-04-06 12:10:16 +0200
commit14da6e85a6ba0053480113b98831e0d65ec7c86a (patch)
tree8e2978b87bcda3c60c5c3829cde09f43e50829e9 /modules/luci-mod-admin-full/luasrc/controller/admin/network.lua
parentec2ad15305bf8cf8d48ca2b47bafe1815a0699cd (diff)
luci-mod-admin-full: dispatch SimpleForm models using the form() action
This fixes issues dicovered by check-controllers.sh Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/controller/admin/network.lua')
-rw-r--r--modules/luci-mod-admin-full/luasrc/controller/admin/network.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua
index 070a9e6167..ab6db4fefb 100644
--- a/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua
+++ b/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua
@@ -82,7 +82,7 @@ function index()
end
- page = entry({"admin", "network", "iface_add"}, cbi("admin_network/iface_add"), nil)
+ page = entry({"admin", "network", "iface_add"}, form("admin_network/iface_add"), nil)
page.leaf = true
page = entry({"admin", "network", "iface_delete"}, post("iface_delete"), nil)