app/controllers/spree/api/classifications_controller.rb in solidus_api-1.3.2 vs app/controllers/spree/api/classifications_controller.rb in solidus_api-1.4.0.beta1
- old
+ new
@@ -9,10 +9,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