git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7e882e8
)
modules/admin-full: use firstchild() in index controller
author
Jo-Philipp Wich
<redacted>
Wed, 26 Oct 2011 00:50:58 +0000
(
00:50
+0000)
committer
Jo-Philipp Wich
<redacted>
Wed, 26 Oct 2011 00:50:58 +0000
(
00:50
+0000)
modules/admin-full/luasrc/controller/admin/index.lua
patch
|
blob
|
history
diff --git
a/modules/admin-full/luasrc/controller/admin/index.lua
b/modules/admin-full/luasrc/controller/admin/index.lua
index 14d7b7a61ccfc4d0e2018eb26a1b2126b3247aea..663ef70229846ed33fb12c87e32c298955df267d 100644
(file)
--- 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"
git clone https://git.99rst.org/PROJECT