projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UCI API changes
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
model
/
cbi
/
admin_network
/
routes.lua
diff --git
a/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
b/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
index
d7b8519
..
aa32324
100644
(file)
--- a/
modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
+++ b/
modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
@@
-48,11
+48,6
@@
s = m:section(TypedSection, "route", translate("a_n_routes_static"))
s.addremove = true
s.anonymous = true
s.addremove = true
s.anonymous = true
-function s.render(...)
- luci.model.uci.load_config("network")
- TypedSection.render(...)
-end
-
s.template = "cbi/tblsection"
iface = s:option(ListValue, "interface", translate("interface"))
s.template = "cbi/tblsection"
iface = s:option(ListValue, "interface", translate("interface"))