summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-29 21:16:12 +0000
committerSteven Barth <steven@midlink.org>2008-07-29 21:16:12 +0000
commit8c3ee6f9b7e5ab0b4edbf4838c7c1a9ee6d7df5d (patch)
treecfc137969531140b44fe4c15ac11587fdb7f7ebd /libs/web/luasrc
parent5b43543226fa29dc7d899e9fc82f0179aefcb56b (diff)
Added "apidocs" target to Makefile
contrib/luadoc: Added luadoc executable libs: Fixed typos in inline documentation
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r--libs/web/luasrc/dispatcher.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 628b4e3ee..576db36b4 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