summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/controller
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-11-26 11:01:08 +0000
committerManuel Munz <freifunk@somakoma.de>2010-11-26 11:01:08 +0000
commitf71776c1cda35263e70659c5ea54a8d5822dba97 (patch)
tree4ec6eebc08f6a087b15c05ba8471cdf0604eacd8 /modules/freifunk/luasrc/controller
parentf1c6b2974b390ded27dda7b6d3165111a1387cea (diff)
modules/freifunk: Rewrite status as view and use iwinfo
Diffstat (limited to 'modules/freifunk/luasrc/controller')
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/freifunk.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
index 6df681afd..49ce9adef 100644
--- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -42,12 +42,12 @@ function index()
page.title = "Kontakt"
local page = node("freifunk", "status")
- page.target = form("freifunk/public_status")
+ page.target = template("freifunk/public_status")
page.title = i18n("Status")
page.order = 20
page.i18n = "base"
page.setuser = false
- page.setgroup = false
+ page.setgroup = false
entry({"freifunk", "status.json"}, call("jsonstatus"))
entry({"freifunk", "status", "zeroes"}, call("zeroes"), "Testdownload")