Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit cc0d20f

Browse files
Update invitations redirect path after resent
1 parent 4aa95b1 commit cc0d20f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/controllers/invitations_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ def resend
7777
if current_user.admin? && @invitation.resend_invitation
7878
redirect_to list_invitations_admin_path, notice: 'Invitation was resent.'
7979
else
80+
@invitations = Invitation.all_sent(current_user.id).order(updated_at: :desc).page(params[:page])
81+
8082
render :index
8183
end
8284
end

0 commit comments

Comments
 (0)