Skip to content

Commit

Permalink
Tweak for codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-bernhardt committed Nov 21, 2024
1 parent 26d113c commit 6ec0f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/confirmation_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def feedback_for(result)

# This method catches the RecordNotUnique error in case a duplicate confirmation is ever submitted, and shows an
# appropriate error message to the user.
def error_not_unique(exception)
def error_not_unique(_exception)
flash[:error] = 'Duplicate confirmations are not supported'
redirect_to terms_unconfirmed_path
end
Expand Down

0 comments on commit 6ec0f0b

Please sign in to comment.