summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-freifunk/luasrc/controller/freifunk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-04-06 12:06:02 +0200
committerJo-Philipp Wich <jo@mein.io>2018-04-06 12:07:50 +0200
commitec2ad15305bf8cf8d48ca2b47bafe1815a0699cd (patch)
treeb690150db8e5edb15b8b1b9289682f2140a104cc /modules/luci-mod-freifunk/luasrc/controller/freifunk
parentef2e7db4ea1746d995eee60462abb3d5813de64d (diff)
luci-mod-freifunk: dispatch SimpleForm model 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-freifunk/luasrc/controller/freifunk')
-rw-r--r--modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua
index e2291e5ca6..adad7508bc 100644
--- a/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -77,7 +77,7 @@ function index()
page.order = 10
page = node("admin", "freifunk", "basics", "profile_expert")
- page.target = cbi("freifunk/profile_expert")
+ page.target = form("freifunk/profile_expert")
page.title = _("Profile (Expert)")
page.order = 20