Skip to content

Commit

Permalink
rename concern method
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed May 10, 2019
1 parent 1907ac1 commit be9f66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/provider_prefixes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def create
render json: ProviderPrefixSerializer.new(@provider_prefix, options).serialized_json, status: :created
else
logger.warn @provider_prefix.errors.inspect
render json: serialize(@provider_prefix.errors), status: :unprocessable_entity
render json: serialize_errors(@provider_prefix.errors), status: :unprocessable_entity
end
end

Expand Down

0 comments on commit be9f66f

Please sign in to comment.