Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Shpigford committed Oct 31, 2024
1 parent fcc6920 commit dd1bd09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/invitations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def create

def accept
@invitation = Invitation.find_by!(token: params[:id])

if @invitation.pending?
redirect_to new_registration_path(invitation: @invitation.token)
else
Expand Down

0 comments on commit dd1bd09

Please sign in to comment.