app/controllers/adminpanel/sections_controller.rb in adminpanel-2.2.2 vs app/controllers/adminpanel/sections_controller.rb in adminpanel-2.2.3
- old
+ new
@@ -45,10 +45,10 @@
:description,
:key,
:page,
:name,
:has_image,
- images_attributes: [:id, :file]
+ { images_attributes: [:id, :file, :_destroy] }
)
end
end
end