From b8abce7f1e51bed61f54e01f6f1b7f3530583284 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 29 May 2008 00:58:52 +0000 Subject: [PATCH] * luci/core: dispatcher.lua: fix build_url() --- libs/web/luasrc/dispatcher.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1