From: Jo-Philipp Wich Date: Wed, 26 Oct 2011 00:50:58 +0000 (+0000) Subject: modules/admin-full: use firstchild() in index controller X-Git-Tag: 0.11.0~1481 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=76548e7dad6fd35a6ca19b4bee0f050a2ab5da56;p=project%2Fluci.git modules/admin-full: use firstchild() in index controller --- diff --git a/modules/admin-full/luasrc/controller/admin/index.lua b/modules/admin-full/luasrc/controller/admin/index.lua index 14d7b7a61c..663ef70229 100644 --- a/modules/admin-full/luasrc/controller/admin/index.lua +++ b/modules/admin-full/luasrc/controller/admin/index.lua @@ -17,12 +17,12 @@ module("luci.controller.admin.index", package.seeall) function index() local root = node() if not root.target then - root.target = alias("admin") + root.target = firstchild() root.index = true end local page = node("admin") - page.target = alias("admin", "status") + page.target = firstchild() page.title = _("Administration") page.order = 10 page.sysauth = "root"