app/controllers/caboose/ab_options_controller.rb in caboose-cms-0.3.22 vs app/controllers/caboose/ab_options_controller.rb in caboose-cms-0.3.23
- old
+ new
@@ -34,11 +34,11 @@
opt = AbOption.find(params[:id])
save = true
params.each do |k,v|
case k
- when 'text'
- opt.text = v
+ when 'value'
+ opt.value = v
break
end
end
resp.success = save && opt.save