summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-samba4/luasrc/controller
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-samba4/luasrc/controller')
-rw-r--r--applications/luci-app-samba4/luasrc/controller/samba4.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/applications/luci-app-samba4/luasrc/controller/samba4.lua b/applications/luci-app-samba4/luasrc/controller/samba4.lua
index 8ad0e52e3..03c53556b 100644
--- a/applications/luci-app-samba4/luasrc/controller/samba4.lua
+++ b/applications/luci-app-samba4/luasrc/controller/samba4.lua
@@ -7,8 +7,5 @@ function index()
return
end
- local page
-
- page = entry({"admin", "services", "samba4"}, cbi("samba4"), _("Network Shares"))
- page.dependent = true
+ entry({"admin", "services", "samba4"}, view("samba4"), _("Network Shares")).dependent = true
end