invitations
- invitations_controller.rb
- invitation.rb
- invitations_spec.rb
audit
audit_event.rb
Group related code
Review the right files together, with code and tests organized by behavior.
Read related code and tests together, even after the next push.
Pull requests / #482
Allows an admin to resend an expired invitation, extending its expiry window and recording an audit event.
Related files (3)
invitations
audit
audit_event.rb
Review the right files together, with code and tests organized by behavior.
Before f3a9c2d
After 7d8e4b1
12def expiry_window
13− 24.hours
13+ 48.hours
14end
Compare before and after a commit to understand the exact code changes.
Reviewer question
Does this PR correctly resend an expired invitation and extend the expiry window to 48 hours?
Answer focused questions about the behavior to confirm the change is correct.
See how it makes pull request review clearer and more focused.
Explore demo