summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-26 03:04:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-26 03:04:18 +0000
commitd409dd68fff8e51a697af91beb26a027ef780355 (patch)
tree3f2c2c464ab04bb680b313e577ed1647c205cea0
parenta31debe8a311baf761adf90a2609cf619d335037 (diff)
modules/admin-full: switch back to alias() for / -> /admin/; chained firstchild() seems to be problematic yet
-rw-r--r--modules/admin-full/luasrc/controller/admin/index.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/index.lua b/modules/admin-full/luasrc/controller/admin/index.lua
index 344848904..4e832529d 100644
--- a/modules/admin-full/luasrc/controller/admin/index.lua
+++ b/modules/admin-full/luasrc/controller/admin/index.lua
@@ -17,7 +17,7 @@ module("luci.controller.admin.index", package.seeall)
function index()
local root = node()
if not root.target then
- root.target = firstchild()
+ root.target = alias("admin")
root.index = true
end