app/controllers/archangel/backend/widgets_controller.rb in archangel-0.3.0 vs app/controllers/archangel/backend/widgets_controller.rb in archangel-0.4.0

- old
+ new

@@ -7,15 +7,15 @@ module Backend ## # Backend widgets controller # class WidgetsController < BackendController - include Archangel::Controllers::Backend::ResourcefulConcern + include Archangel::Controllers::ResourcefulConcern protected - def permitted_attributes - %w[content name slug template_id] + def permitted_resource_attributes + %w[content design_id name slug] end def resources_content @widgets = current_site.widgets .order(name: :asc)