luci-mod-freifunk: dispatch SimpleForm model using the form() action
authorJo-Philipp Wich <jo@mein.io>
Fri, 6 Apr 2018 10:06:02 +0000 (12:06 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 6 Apr 2018 10:07:50 +0000 (12:07 +0200)
This fixes issues dicovered by check-controllers.sh

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua

index e2291e5..adad750 100644 (file)
@@ -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