From: Jo-Philipp Wich Date: Fri, 6 Apr 2018 09:53:59 +0000 (+0200) Subject: luci-app-wol: dispatch SimpleForm model using the form() action X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dacf88216d93919d8e988a08902c9f87779874ee;p=oweals%2Fluci.git luci-app-wol: dispatch SimpleForm model using the form() action This fixes issues dicovered by check-controllers.sh Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-wol/luasrc/controller/wol.lua b/applications/luci-app-wol/luasrc/controller/wol.lua index dbbfdde12..43ab84ab2 100644 --- a/applications/luci-app-wol/luasrc/controller/wol.lua +++ b/applications/luci-app-wol/luasrc/controller/wol.lua @@ -1,6 +1,6 @@ module("luci.controller.wol", package.seeall) function index() - entry({"admin", "services", "wol"}, cbi("wol"), _("Wake on LAN"), 90) - entry({"mini", "services", "wol"}, cbi("wol"), _("Wake on LAN"), 90) + entry({"admin", "services", "wol"}, form("wol"), _("Wake on LAN"), 90) + entry({"mini", "services", "wol"}, form("wol"), _("Wake on LAN"), 90) end