summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk
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 /modules/freifunk
parent3f09d369d679d3e4413849cf67f757c647a66965 (diff)
* Optimized dispatching model
Diffstat (limited to 'modules/freifunk')
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/freifunk.lua2
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/luciinfo.lua2
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/olsr.lua10
3 files changed, 7 insertions, 7 deletions
diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
index 104f6cdfc..89813b3d8 100644
--- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -22,7 +22,7 @@ function index()
local page = node("freifunk", "status")
- page.target = action_status
+ page.target = call("action_status")
page.title = "Status"
page.order = 20
page.setuser = false
diff --git a/modules/freifunk/luasrc/controller/freifunk/luciinfo.lua b/modules/freifunk/luasrc/controller/freifunk/luciinfo.lua
index aabab19a1..c4c627601 100644
--- a/modules/freifunk/luasrc/controller/freifunk/luciinfo.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/luciinfo.lua
@@ -1,7 +1,7 @@
module("luci.controller.freifunk.luciinfo", package.seeall)
function index()
- node("freifunk", "luciinfo").target = action_index
+ node("freifunk", "luciinfo").target = call("action_index")
end
function action_index()
diff --git a/modules/freifunk/luasrc/controller/freifunk/olsr.lua b/modules/freifunk/luasrc/controller/freifunk/olsr.lua
index 29858fc0e..ac143277d 100644
--- a/modules/freifunk/luasrc/controller/freifunk/olsr.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/olsr.lua
@@ -3,27 +3,27 @@ require("luci.sys")
function index()
local page = node("freifunk", "olsr")
- page.target = action_index
+ page.target = call("action_index")
page.title = "OLSR"
page.order = 30
local page = node("freifunk", "olsr", "routes")
- page.target = action_routes
+ page.target = call("action_routes")
page.title = "Routen"
page.order = 10
local page = node("freifunk", "olsr", "topology")
- page.target = action_topology
+ page.target = call("action_topology")
page.title = "Topologie"
page.order = 20
local page = node("freifunk", "olsr", "hna")
- page.target = action_hna
+ page.target = call("action_hna")
page.title = "HNA"
page.order = 30
local page = node("freifunk", "olsr", "mid")
- page.target = action_mid
+ page.target = call("action_mid")
page.title = "MID"
page.order = 50
end