modules/admin-full: use firstchild() instead of fixed alias
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 26 Oct 2011 00:48:33 +0000 (00:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 26 Oct 2011 00:48:33 +0000 (00:48 +0000)
modules/admin-full/luasrc/controller/admin/network.lua

index 1e6892e..954ba12 100644 (file)
@@ -31,7 +31,7 @@ function index()
        local page
 
        page = node("admin", "network")
-       page.target = alias("admin", "network", "network")
+       page.target = firstchild()
        page.title  = _("Network")
        page.order  = 50
        page.index  = true