app/controllers/admin/page_parts_controller.rb in trusty-cms-3.0.10 vs app/controllers/admin/page_parts_controller.rb in trusty-cms-3.0.11
- old
+ new
@@ -8,9 +8,9 @@
end
private
def page_parts_params
- params.permit(:name, :filter_id, :content)
+ params.require(:page_part).permit(:name, :filter_id, :content)
end
end