From dd1bd09e1f531ab3d67fdfdb22f57a09b7d5384f Mon Sep 17 00:00:00 2001 From: Josh Pigford Date: Thu, 31 Oct 2024 09:09:55 -0400 Subject: [PATCH] Lint --- app/controllers/invitations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/invitations_controller.rb b/app/controllers/invitations_controller.rb index 0b10c6cb20c..18597530238 100644 --- a/app/controllers/invitations_controller.rb +++ b/app/controllers/invitations_controller.rb @@ -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