summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjoweisberg <jo.weisberg@gmail.com>2020-04-02 21:35:54 +0200
committerjoweisberg <jo.weisberg@gmail.com>2020-04-03 14:42:06 +0200
commitd6be300b14c94f1fcd0711e5da65c37e7f0cda8e (patch)
tree967ccf2dc8753c3daee73a75e9b6f9bae2803f61
parent015712bba0fe4b036b4d12235a7b664d5b4cf3fe (diff)
luci-app-samba: Fix path url link to mounts
Signed-off-by: joweisberg <jo.weisberg@gmail.com>
-rw-r--r--applications/luci-app-samba/luasrc/model/cbi/samba.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-samba/luasrc/model/cbi/samba.lua b/applications/luci-app-samba/luasrc/model/cbi/samba.lua
index 2e533c3f57..e972874f5b 100644
--- a/applications/luci-app-samba/luasrc/model/cbi/samba.lua
+++ b/applications/luci-app-samba/luasrc/model/cbi/samba.lua
@@ -19,7 +19,7 @@ h = s:taboption("general", Flag, "homes", translate("Share home-directories"),
h.rmempty = false
tmpl = s:taboption("template", Value, "_tmpl",
- translate("Edit the template that is used for generating the samba configuration."),
+ translate("Edit the template that is used for generating the samba configuration."),
translate("This is the content of the file '/etc/samba/smb.conf.template' from which your samba configuration will be generated. " ..
"Values enclosed by pipe symbols ('|') should not be changed. They get their values from the 'General Settings' tab."))
@@ -45,7 +45,7 @@ s.template = "cbi/tblsection"
s:option(Value, "name", translate("Name"))
pth = s:option(Value, "path", translate("Path"))
if nixio.fs.access("/etc/config/fstab") then
- pth.titleref = luci.dispatcher.build_url("admin", "system", "fstab")
+ pth.titleref = luci.dispatcher.build_url("admin", "system", "mounts")
end
s:option(Value, "users", translate("Allowed users")).rmempty = true