From ca2597ff34a9f1687242518c990ab40c5ff6df79 Mon Sep 17 00:00:00 2001 From: Pete Holiday Date: Wed, 3 Apr 2024 17:59:39 +0530 Subject: [PATCH] Changes links in pair request email to be full URLs instead of relative paths. --- app/views/invitation_mailer/pair_request.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/invitation_mailer/pair_request.html.haml b/app/views/invitation_mailer/pair_request.html.haml index 88979f6..e3ba704 100644 --- a/app/views/invitation_mailer/pair_request.html.haml +++ b/app/views/invitation_mailer/pair_request.html.haml @@ -11,11 +11,11 @@ - content_for :callout_box do - if recipient_reg = @league.registration_for(@invite.recipient) Click - =link_to "here", edit_registration_path(recipient_reg) + =link_to "here", edit_registration_url(recipient_reg) to edit your registration for =@league.name - else Click - =link_to "here", register_league_path(@league) + =link_to "here", register_league_url(@league) to register for =@league.name