summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/dispatcher.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/luasrc/dispatcher.lua')
-rw-r--r--modules/luci-base/luasrc/dispatcher.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua
index c227b68c85..118ca221ae 100644
--- a/modules/luci-base/luasrc/dispatcher.lua
+++ b/modules/luci-base/luasrc/dispatcher.lua
@@ -193,7 +193,8 @@ local function target_to_json(target, module)
elseif target.type == "cbi" then
action = {
["type"] = "cbi",
- ["path"] = target.model
+ ["path"] = target.model,
+ ["config"] = target.config
}
elseif target.type == "form" then
action = {