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..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.