diff options
author | Florian Eckert <fe@dev.tdt.de> | 2020-08-31 14:12:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 14:12:54 +0200 |
commit | 4b8d4bac87629ae33e036ac089f3fc4976bfac71 (patch) | |
tree | c07a0e19b513d6f928d07e2b155a4016e194badf /modules/luci-base/luasrc/dispatcher.lua | |
parent | 21563a2d34342413c953f075576a2582ec238b7e (diff) | |
parent | 48715ba5c8ccec4bfe326b1de612d7056d161000 (diff) |
Merge pull request #4239 from etactica/error404-messages
luci-base: dispatcher: error404: flow message into template
Diffstat (limited to 'modules/luci-base/luasrc/dispatcher.lua')
-rw-r--r-- | modules/luci-base/luasrc/dispatcher.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua index 560140e3d..44c17c85f 100644 --- a/modules/luci-base/luasrc/dispatcher.lua +++ b/modules/luci-base/luasrc/dispatcher.lua @@ -395,7 +395,7 @@ function error404(message) local function render() local template = require "luci.template" - template.render("error404") + template.render("error404", {message=message}) end if not util.copcall(render) then |