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>
This commit is contained in:
parent
ec2ad15305
commit
14da6e85a6
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ function index()
|
||||||
end
|
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.leaf = true
|
||||||
|
|
||||||
page = entry({"admin", "network", "iface_delete"}, post("iface_delete"), nil)
|
page = entry({"admin", "network", "iface_delete"}, post("iface_delete"), nil)
|
||||||
|
|
|
@ -14,7 +14,7 @@ function index()
|
||||||
entry({"admin", "status", "routes"}, template("admin_status/routes"), _("Routes"), 3)
|
entry({"admin", "status", "routes"}, template("admin_status/routes"), _("Routes"), 3)
|
||||||
entry({"admin", "status", "syslog"}, call("action_syslog"), _("System Log"), 4)
|
entry({"admin", "status", "syslog"}, call("action_syslog"), _("System Log"), 4)
|
||||||
entry({"admin", "status", "dmesg"}, call("action_dmesg"), _("Kernel Log"), 5)
|
entry({"admin", "status", "dmesg"}, call("action_dmesg"), _("Kernel Log"), 5)
|
||||||
entry({"admin", "status", "processes"}, cbi("admin_status/processes"), _("Processes"), 6)
|
entry({"admin", "status", "processes"}, form("admin_status/processes"), _("Processes"), 6)
|
||||||
|
|
||||||
entry({"admin", "status", "realtime"}, alias("admin", "status", "realtime", "load"), _("Realtime Graphs"), 7)
|
entry({"admin", "status", "realtime"}, alias("admin", "status", "realtime", "load"), _("Realtime Graphs"), 7)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue