From e9d13ef4752c1670167d393d60ce410c181af188 Mon Sep 17 00:00:00 2001 From: Dean Lofts Date: Mon, 2 Sep 2024 23:09:24 +1000 Subject: [PATCH 1/2] fix welcome mail --- app/mailers/user_mailer.rb | 2 +- app/views/user_mailer/welcome_email.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index ab40e46..04cf913 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -3,7 +3,7 @@ class UserMailer < ApplicationMailer def welcome_email(user) @user = user - @url = 'http://linkarooie.com/login' + @url = 'https://linkarooie.com/users/sign_in' # Directly use the login URL mail(to: @user.email, subject: 'Welcome to Linkarooie!') end end diff --git a/app/views/user_mailer/welcome_email.html.erb b/app/views/user_mailer/welcome_email.html.erb index fffce0e..f82375f 100644 --- a/app/views/user_mailer/welcome_email.html.erb +++ b/app/views/user_mailer/welcome_email.html.erb @@ -29,5 +29,5 @@

- You received this email because you signed up for Linkarooie. If this wasn't you, please ignore this email or contact our support team. + You received this email because you signed up for Linkarooie. If this wasn't you, please ignore this email or contact our support team.

From bf308c6b9549ec0632d42bc9c43bacf4ba964923 Mon Sep 17 00:00:00 2001 From: Dean Lofts Date: Mon, 2 Sep 2024 23:12:09 +1000 Subject: [PATCH 2/2] Update welcome_email.html.erb --- app/views/user_mailer/welcome_email.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user_mailer/welcome_email.html.erb b/app/views/user_mailer/welcome_email.html.erb index f82375f..37dbd6e 100644 --- a/app/views/user_mailer/welcome_email.html.erb +++ b/app/views/user_mailer/welcome_email.html.erb @@ -29,5 +29,5 @@

- You received this email because you signed up for Linkarooie. If this wasn't you, please ignore this email or contact our support team. + You received this email because you signed up for Linkarooie. If this wasn't you, please ignore this email or contact our support team.