Fix a rubocop issue in spree/api/products_controller

This commit is contained in:
luisramos0
2019-07-19 21:07:28 +01:00
parent 7346a49982
commit 314ed50e0f

View File

@@ -63,7 +63,9 @@ module Spree
authorize! :read, Spree::Product
@products = product_scope.
ransack(params[:q]).result.managed_by(current_api_user).page(params[:page]).per(params[:per_page])
ransack(params[:q]).result.
managed_by(current_api_user).
page(params[:page]).per(params[:per_page])
respond_with(@products, default_template: :index)
end