From: Jo-Philipp Wich Date: Fri, 6 Apr 2018 10:06:02 +0000 (+0200) Subject: luci-mod-freifunk: dispatch SimpleForm model using the form() action X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ec2ad15305bf8cf8d48ca2b47bafe1815a0699cd;p=oweals%2Fluci.git luci-mod-freifunk: dispatch SimpleForm model using the form() action This fixes issues dicovered by check-controllers.sh Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua index e2291e5ca..adad7508b 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