Skip to content

Commit

Permalink
fix welcome mail
Browse files Browse the repository at this point in the history
  • Loading branch information
loftwah committed Sep 2, 2024
1 parent f08a57f commit e9d13ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/mailers/user_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion app/views/user_mailer/welcome_email.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
<hr style="border: none; border-top: 1px solid #ddd; margin: 20px 0;">

<p style="font-family: Arial, sans-serif; color: #777; text-align: center; font-size: 12px;">
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 <a href="https://linkarooie.com/support" style="color: #007bff;">support team</a>.
</p>

0 comments on commit e9d13ef

Please sign in to comment.