app/controllers/spree/api/v1/classifications_controller.rb in spree_api-3.1.14 vs app/controllers/spree/api/v1/classifications_controller.rb in spree_api-3.2.0.rc1
- old
+ new
@@ -10,10 +10,10 @@
taxon_id: params[:taxon_id]
)
# Because position we get back is 0-indexed.
# acts_as_list is 1-indexed.
classification.insert_at(params[:position].to_i + 1)
- render nothing: true
+ head :ok
end
end
end
end
end