From: Christian Schoenebeck Date: Sun, 8 Feb 2015 18:17:09 +0000 (+0100) Subject: admin_network: interface details, implement back to overview X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F320%2Fhead;p=project%2Fluci.git admin_network: interface details, implement back to overview Implements "Back to Overview" on interface details page Signed-off-by: Christian Schoenebeck --- diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua index eabb257680..c2e5c72285 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -14,6 +14,7 @@ local has_dnsmasq = fs.access("/etc/config/dhcp") local has_firewall = fs.access("/etc/config/firewall") m = Map("network", translate("Interfaces") .. " - " .. arg[1]:upper(), translate("On this page you can configure the network interfaces. You can bridge several interfaces by ticking the \"bridge interfaces\" field and enter the names of several network interfaces separated by spaces. You can also use VLAN notation INTERFACE.VLANNR (e.g.: eth0.1).")) +m.redirect = luci.dispatcher.build_url("admin", "network", "network") m:chain("wireless") if has_firewall then