summaryrefslogtreecommitdiffhomepage
path: root/libs/web
diff options
context:
space:
mode:
Diffstat (limited to 'libs/web')
-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 5fdd0a6383..89fa52ee1e 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -229,7 +229,7 @@ function dispatch(request)
ctx.path = preq
if track.i18n then
- require("luci.i18n").loadc(track.i18n)
+ i18n.loadc(track.i18n)
end
-- Init template engine