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 e2291e5ca60f3ba71e560987c0db4d9034ebf76b..adad7508bc899ac882f5c42269d725a0719887c8 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