* luci/core: dispatcher.lua: fix build_url()
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 29 May 2008 00:58:52 +0000 (00:58 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 29 May 2008 00:58:52 +0000 (00:58 +0000)
libs/web/luasrc/dispatcher.lua

index fc551a4..3bf9ac9 100644 (file)
@@ -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