summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-31 10:48:56 +0000
committerSteven Barth <steven@midlink.org>2008-08-31 10:48:56 +0000
commitf28422324d9f8aa6ac0af58dca431fa466e8b183 (patch)
tree56ef1746b9ae905b95412f07b7f29d435fd5614a
parent041321c5f715ded58eaa86b41cf534b5b9b2a608 (diff)
libs/web: Fix dispatching index scope
-rw-r--r--libs/web/luasrc/dispatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 9603f5f56..3805f5c9d 100644
--- 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