From 5803bf86933f448a0a0462935bfdc9fe44cca0cb Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Wed, 10 Jun 2020 16:06:12 -0400 Subject: [PATCH] Updated /follow_requests url in emails to new route MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - /follow_requests url in emails to new route --- app/views/notification_mailer/follow_request.html.haml | 2 +- app/views/notification_mailer/follow_request.text.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/notification_mailer/follow_request.html.haml b/app/views/notification_mailer/follow_request.html.haml index b6ff4de0..b7f89b94 100644 --- a/app/views/notification_mailer/follow_request.html.haml +++ b/app/views/notification_mailer/follow_request.html.haml @@ -15,5 +15,5 @@ %tbody %tr %td{ :style => "background-color:#30CE7D;height:56px;border-radius:9999px;color:#fff;" } - = link_to web_url("follow_requests"), :style => "height:56px;padding:20px 30px;text-decoration:none;color:#fff;font-size:16px;margin:0;" do + = link_to web_url("notifications/follow_requests"), :style => "height:56px;padding:20px 30px;text-decoration:none;color:#fff;font-size:16px;margin:0;" do %span{ :style => "color:#fff;font-size:16px;margin:0;" }= t 'notification_mailer.follow_request.action' diff --git a/app/views/notification_mailer/follow_request.text.erb b/app/views/notification_mailer/follow_request.text.erb index a018394b..9c02600c 100644 --- a/app/views/notification_mailer/follow_request.text.erb +++ b/app/views/notification_mailer/follow_request.text.erb @@ -2,4 +2,4 @@ <%= raw t('notification_mailer.follow_request.body', name: @account.acct) %> -<%= raw t('application_mailer.view')%> <%= web_url("follow_requests") %> +<%= raw t('application_mailer.view')%> <%= web_url("notifications/follow_requests") %>