Apply code standards

This commit is contained in:
Maikel Linke
2016-04-15 14:31:54 +10:00
parent a25f4fdf44
commit e17b609517

View File

@@ -7,9 +7,11 @@ module Admin
respond_to do |format|
format.html
format.json do
render json: ActiveModel::ArraySerializer.new( @collection,
each_serializer: Api::Admin::CustomerSerializer, spree_current_user: spree_current_user
).to_json
serialised = ActiveModel::ArraySerializer.new(
@collection,
each_serializer: Api::Admin::CustomerSerializer,
spree_current_user: spree_current_user)
render json: serialised.to_json
end
end
end