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 1e6892e16ee918b0df2a748a7ec994385c0d6578..954ba12f52d97be968a3144263bd9df7c06dd851 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