diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-10-26 03:04:18 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-10-26 03:04:18 +0000 |
commit | d409dd68fff8e51a697af91beb26a027ef780355 (patch) | |
tree | 3f2c2c464ab04bb680b313e577ed1647c205cea0 /modules/admin-full | |
parent | a31debe8a311baf761adf90a2609cf619d335037 (diff) |
modules/admin-full: switch back to alias() for / -> /admin/; chained firstchild() seems to be problematic yet
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/index.lua | 2 |
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 |