From: Jo-Philipp Wich Date: Thu, 29 May 2008 00:58:52 +0000 (+0000) Subject: * luci/core: dispatcher.lua: fix build_url() X-Git-Tag: 0.8.0~963 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b8abce7f1e51bed61f54e01f6f1b7f3530583284;p=oweals%2Fluci.git * luci/core: dispatcher.lua: fix build_url() --- diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index fc551a4bd..3bf9ac9d4 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -46,7 +46,7 @@ built_tree = false -- Builds a URL -function build_url(...) +function build_url(arg) return luci.http.dispatcher() .. "/" .. table.concat(arg, "/") end