diff options
author | Andy Walsh <andy.walsh44+github@gmail.com> | 2019-11-22 13:58:33 +0100 |
---|---|---|
committer | Andy Walsh <andy.walsh44+github@gmail.com> | 2019-11-22 13:58:33 +0100 |
commit | 877dec0fe58a93073d3c7de40aaba57aa950362c (patch) | |
tree | 69594c8a0408845c891a7095c455675c24f4c8d4 /applications/luci-app-samba4/luasrc/controller | |
parent | 4fe16b1ec61ebed400d86d3618419e6c64bb38dd (diff) |
luci-app-samba4: switch to luci static javascript api
* switch to luci static javascript api
* add version info
* remove 'home' option
* regenerate translations
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Diffstat (limited to 'applications/luci-app-samba4/luasrc/controller')
-rw-r--r-- | applications/luci-app-samba4/luasrc/controller/samba4.lua | 5 |
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 8ad0e52e36..03c53556b6 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 |