summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-07-07 20:14:18 +0200
committerJo-Philipp Wich <jo@mein.io>2019-07-07 20:14:18 +0200
commit875a96f6535a97b93d09af5756db53d91e83dc49 (patch)
tree25896d1b03af317ab4ff7e1e7f9f83a838dbec1a /modules/luci-mod-network/luasrc/controller
parent91afb6fae2527174f264c9008569783a79b49dae (diff)
luci-mod-network: switch hostname configuration to client side js
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/luasrc/controller')
-rw-r--r--modules/luci-mod-network/luasrc/controller/admin/network.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/luasrc/controller/admin/network.lua b/modules/luci-mod-network/luasrc/controller/admin/network.lua
index 6bd92b2d1a..fac8d95a20 100644
--- a/modules/luci-mod-network/luasrc/controller/admin/network.lua
+++ b/modules/luci-mod-network/luasrc/controller/admin/network.lua
@@ -108,7 +108,7 @@ function index()
page.order = 30
page = node("admin", "network", "hosts")
- page.target = cbi("admin_network/hosts")
+ page.target = view("network/hosts")
page.title = _("Hostnames")
page.order = 40
end