modules/admin-full: use firstchild() in services controller
This commit is contained in:
parent
6516d7ba5b
commit
94225a83c9
1 changed files with 2 additions and 12 deletions
|
@ -15,16 +15,6 @@ $Id$
|
||||||
module("luci.controller.admin.services", package.seeall)
|
module("luci.controller.admin.services", package.seeall)
|
||||||
|
|
||||||
function index()
|
function index()
|
||||||
local page
|
entry({"admin", "services"}, firstchild(), _("Services"), 40).index = true
|
||||||
|
entry({"admin", "services", "crontab"}, form("admin_services/crontab"), _("Scheduled Tasks"), 50)
|
||||||
page = node("admin", "services", "crontab")
|
|
||||||
page.target = form("admin_services/crontab")
|
|
||||||
page.title = _("Scheduled Tasks")
|
|
||||||
page.order = 50
|
|
||||||
|
|
||||||
page = node("admin", "services")
|
|
||||||
page.target = template("admin_services/index")
|
|
||||||
page.title = _("Services")
|
|
||||||
page.order = 40
|
|
||||||
page.index = true
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue