Skip to content

Commit

Permalink
Fix Rubocop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Gardimy authored Dec 14, 2023
1 parent 14c2bba commit 87d8342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/reservations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def update
def destroy
if @reservation.destroy
head :no_content
else
else
render json: @reservation.errors, status: :unprocessable_entity
end
end
Expand Down

0 comments on commit 87d8342

Please sign in to comment.