projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041321c
)
libs/web: Fix dispatching index scope
author
Steven Barth
<steven@midlink.org>
Sun, 31 Aug 2008 10:48:56 +0000
(10:48 +0000)
committer
Steven Barth
<steven@midlink.org>
Sun, 31 Aug 2008 10:48:56 +0000
(10:48 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index 9603f5f56ce5aff2be1ad5defa228a21cb6737c3..3805f5c9d3323a9988cf834c7b86b11bee5ecd5e 100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-307,7
+307,7
@@
function createtree()
require "luci.i18n".loadc("default")
local scope = setmetatable({}, {__index = _G})
- for k,v in pairs(
_M
) do
+ for k,v in pairs(
luci.dispatcher
) do
if type(v) == "function" then
scope[k] = v
end