projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci-mod-admin-full: dispatch SimpleForm models using the form() action
[project/luci.git]
/
modules
/
luci-mod-admin-full
/
luasrc
/
controller
/
admin
/
network.lua
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
070a9e6
..
ab6db4f
100644
(file)
--- 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
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)
page.leaf = true
page = entry({"admin", "network", "iface_delete"}, post("iface_delete"), nil)