Enable the Layout/SpaceInsideHashLiteralBraces cop
This commit is contained in:
parent
02ade68b38
commit
b138dcd876
51 changed files with 154 additions and 154 deletions
|
@ -8,7 +8,7 @@ class API::V1::ProceduresController < APIController
|
|||
def show
|
||||
procedure = current_administrateur.procedures.find(params[:id]).decorate
|
||||
|
||||
render json: {procedure: ProcedureSerializer.new(procedure).as_json}
|
||||
render json: { procedure: ProcedureSerializer.new(procedure).as_json }
|
||||
rescue ActiveRecord::RecordNotFound => e
|
||||
Rails.logger.error(e.message)
|
||||
render json: {}, status: 404
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue