projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1443ff1
)
luci-app-wol: dispatch SimpleForm model using the form() action
author
Jo-Philipp Wich
<jo@mein.io>
Fri, 6 Apr 2018 09:53:59 +0000
(11:53 +0200)
committer
Jo-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>
applications/luci-app-wol/luasrc/controller/wol.lua
patch
|
blob
|
history
diff --git
a/applications/luci-app-wol/luasrc/controller/wol.lua
b/applications/luci-app-wol/luasrc/controller/wol.lua
index dbbfdde1280b8ff0a9fc6e821d9a940cd3277506..43ab84ab2a958a429b5c1824c7c05fa0cf03bcc2 100644
(file)
--- 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