summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-27 20:39:48 +0000
committerSteven Barth <steven@midlink.org>2008-05-27 20:39:48 +0000
commitb1e131a3db1b6ec2ceecb5df4a224f3de2735e6d (patch)
tree593175651871c9fcfaa4ee7c9fceeb8990b8147c /applications
parent3f09d369d679d3e4413849cf67f757c647a66965 (diff)
* Optimized dispatching model
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/controller/luci_ffwizard_leipzig/wizard.lua2
-rw-r--r--applications/luci-splash/luasrc/controller/splash/splash.lua6
2 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/controller/luci_ffwizard_leipzig/wizard.lua b/applications/luci-ffwizard-leipzig/luasrc/controller/luci_ffwizard_leipzig/wizard.lua
index 4f2390b37..2fabfb11d 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/controller/luci_ffwizard_leipzig/wizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/controller/luci_ffwizard_leipzig/wizard.lua
@@ -1,7 +1,7 @@
module("luci.controller.luci_ffwizard_leipzig.wizard", package.seeall)
function index()
- entry({"admin", "index", "wizard"}, action_wizard, "Freifunkassistent", 20)
+ entry({"admin", "index", "wizard"}, call("action_wizard"), "Freifunkassistent", 20)
end
diff --git a/applications/luci-splash/luasrc/controller/splash/splash.lua b/applications/luci-splash/luasrc/controller/splash/splash.lua
index 544f1e89e..e7448d7fb 100644
--- a/applications/luci-splash/luasrc/controller/splash/splash.lua
+++ b/applications/luci-splash/luasrc/controller/splash/splash.lua
@@ -5,9 +5,9 @@ function index()
page.target = cbi("splash/splash")
page.title = "Client-Splash"
- node("splash", "splash", "activate").target = action_activate
- node("splash", "splash", "allowed").target = action_allowed
- node("splash", "splash", "unknown").target = action_unknown
+ node("splash", "splash", "activate").target = call("action_activate")
+ node("splash", "splash", "allowed").target = call("action_allowed")
+ node("splash", "splash", "unknown").target = call("action_unknown")
node("splash", "splash", "splash").target = template("splash_splash/splash")
end