diff options
-rw-r--r-- | modules/luci-base/luasrc/dispatcher.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua index c227b68c8..118ca221a 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 = { |