app/controllers/adminpanel/sections_controller.rb in adminpanel-2.6.1 vs app/controllers/adminpanel/sections_controller.rb in adminpanel-3.0.0
- old
+ new
@@ -26,16 +26,10 @@
:key,
:page,
:name,
:max_files,
:has_image,
- {
- sectionfiles_attributes: [
- :id,
- :file,
- :_destroy
- ]
- }
+ sectionfile_ids: []
)
end
end
end