From d409dd68fff8e51a697af91beb26a027ef780355 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 26 Oct 2011 03:04:18 +0000 Subject: modules/admin-full: switch back to alias() for / -> /admin/; chained firstchild() seems to be problematic yet --- modules/admin-full/luasrc/controller/admin/index.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/admin-full/luasrc/controller/admin') diff --git a/modules/admin-full/luasrc/controller/admin/index.lua b/modules/admin-full/luasrc/controller/admin/index.lua index 3448489044..4e832529d9 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 -- cgit v1.2.3