modules/admin-full: switch back to alias() for / -> /admin/; chained firstchild() seems to be problematic yet

This commit is contained in:
Jo-Philipp Wich 2011-10-26 03:04:18 +00:00
parent a31debe8a3
commit d409dd68ff

View file

@ -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