X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fweb%2Fluasrc%2Fdispatcher.lua;h=73daeaf17e50e24f40fbf48a24316b56d1c7ebec;hp=519473ea4aeb71f1edc0bbdad43a6e40081bb6e6;hb=859a3fee889026a88e7780424711235e2a1e1d5f;hpb=b848def42914e3e9a4e4efcd247d4fcc84c172a4 diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 519473ea4..73daeaf17 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -390,7 +390,7 @@ end function createindex_plain(path, suffixes) local controllers = { } for _, suffix in ipairs(suffixes) do - util.combine( + controllers = util.combine( controllers, luci.fs.glob(path .. "*" .. suffix) or {}, luci.fs.glob(path .. "*/*" .. suffix) or {}