luci-app-wol: dispatch SimpleForm model using the form() action
[project/luci.git] / applications / luci-app-wol / luasrc / controller / wol.lua
index dbbfdde..43ab84a 100644 (file)
@@ -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