Skip to content

Commit

Permalink
okay, rubocop, I added that space you wanted
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Keller committed May 18, 2018
1 parent 4d0d3fe commit 3f89870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/review_queues_controller.rb
Expand Up @@ -30,7 +30,7 @@ def submit

# Prevent the same item from being reviewed twice by the same user.
if (@item.completed && ReviewResult.exists?(item: @item)) ||
ReviewResult.where(user: current_user, item: @item).where.not(result: 'skip').exists?
ReviewResult.where(user: current_user, item: @item).where.not(result: 'skip').exists?

render json: { status: 'duplicate' }, status: 409
return
Expand Down

0 comments on commit 3f89870

Please sign in to comment.