modules/admin-full: switch back to alias() for / -> /admin/; chained firstchild() seems to be problematic yet
This commit is contained in:
parent
a31debe8a3
commit
d409dd68ff
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue