diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-04-06 11:53:59 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-04-06 12:07:50 +0200 |
commit | dacf88216d93919d8e988a08902c9f87779874ee (patch) | |
tree | f95b3c0373a9d95c00d951292539097cd1bfc0bc /applications | |
parent | 1443ff121d96a541e3cf83ba3efc50ccfb3fdb80 (diff) |
luci-app-wol: 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 'applications')
-rw-r--r-- | applications/luci-app-wol/luasrc/controller/wol.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-wol/luasrc/controller/wol.lua b/applications/luci-app-wol/luasrc/controller/wol.lua index dbbfdde128..43ab84ab2a 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 |