diff options
Diffstat (limited to 'libs/web')
-rw-r--r-- | libs/web/luasrc/dispatcher.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 628b4e3ee7..576db36b41 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -410,7 +410,7 @@ function rewrite(n, ...) end --- Create a function-call dispatching target. --- @param nane Target function of local controller +-- @param name Target function of local controller -- @param ... Additional parameters passed to the function function call(name, ...) local argv = {...} @@ -418,7 +418,7 @@ function call(name, ...) end --- Create a template render dispatching target. --- @param nane Template to be rendered +-- @param name Template to be rendered function template(name) require("luci.template") return function() luci.template.render(name) end |