app/controllers/spree/api/taxonomies_controller.rb in solidus_api-2.9.6 vs app/controllers/spree/api/taxonomies_controller.rb in solidus_api-2.10.0.beta1

- old
+ new

@@ -31,10 +31,10 @@ end end def update authorize! :update, taxonomy - if taxonomy.update_attributes(taxonomy_params) + if taxonomy.update(taxonomy_params) respond_with(taxonomy, status: 200, default_template: :show) else invalid_resource!(taxonomy) end end