From: Jo-Philipp Wich Date: Wed, 26 Oct 2011 03:04:18 +0000 (+0000) Subject: modules/admin-full: switch back to alias() for / -> /admin/; chained firstchild(... X-Git-Tag: 0.11.0~1476 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=d409dd68fff8e51a697af91beb26a027ef780355 modules/admin-full: switch back to alias() for / -> /admin/; chained firstchild() seems to be problematic yet --- 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