From d16a745b86cb65e3cbe9bd2ac63c0dedda9d85f6 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Fri, 26 Feb 2016 00:38:22 +0800 Subject: [PATCH] luci-theme-material: remove the double slash (//) from menu url Signed-off-by: Shuanglei Tao --- .../luci-theme-material/luasrc/view/themes/material/header.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/luci-theme-material/luasrc/view/themes/material/header.htm b/themes/luci-theme-material/luasrc/view/themes/material/header.htm index 0dc24aa5f..8419ade76 100755 --- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm +++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm @@ -210,7 +210,7 @@ %>
  • <%=pcdata(striptags(translate(nnode.title)))%> - <%- submenu("/" .. category .. "/" .. r .. "/", nnode) %> + <%- submenu(category .. "/" .. r .. "/", nnode) %>
  • <% else %>
  • -- 2.25.1