diff --git a/Gemfile b/Gemfile index af4a606437..5a13e1ff50 100644 --- a/Gemfile +++ b/Gemfile @@ -108,7 +108,6 @@ gem 'uglifier', '>= 1.0.3' gem 'angular-rails-templates', '~> 0.3.0' gem 'foundation-icons-sass-rails' gem 'momentjs-rails' -# gem 'turbo-sprockets-rails3' gem 'foundation-rails', '= 5.5.2.1' diff --git a/app/controllers/spree/admin/properties_controller.rb b/app/controllers/spree/admin/properties_controller.rb index dcccad41f9..fd618f1272 100644 --- a/app/controllers/spree/admin/properties_controller.rb +++ b/app/controllers/spree/admin/properties_controller.rb @@ -1,6 +1,9 @@ module Spree module Admin class PropertiesController < ResourceController + def permitted_resource_params + params.require(:property).permit(:name, :presentation) + end end end end