summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-26 00:50:58 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-26 00:50:58 +0000
commit76548e7dad6fd35a6ca19b4bee0f050a2ab5da56 (patch)
tree934b24dd53f8439767648bb3b1878f1b829ca3a8 /modules/admin-full/luasrc
parent7e882e8bd6bd4d5067ae8b642146bac96414ad72 (diff)
modules/admin-full: use firstchild() in index controller
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/controller/admin/index.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/index.lua b/modules/admin-full/luasrc/controller/admin/index.lua
index 14d7b7a61c..663ef70229 100644
--- a/modules/admin-full/luasrc/controller/admin/index.lua
+++ b/modules/admin-full/luasrc/controller/admin/index.lua
@@ -17,12 +17,12 @@ module("luci.controller.admin.index", package.seeall)
function index()
local root = node()
if not root.target then
- root.target = alias("admin")
+ root.target = firstchild()
root.index = true
end
local page = node("admin")
- page.target = alias("admin", "status")
+ page.target = firstchild()
page.title = _("Administration")
page.order = 10
page.sysauth = "root"