Skip to content

Commit

Permalink
Merge pull request #85 from loftwah/dl/welcome-email-fix
Browse files Browse the repository at this point in the history
fix welcome mail
  • Loading branch information
loftwah authored Sep 2, 2024
2 parents f08a57f + bf308c6 commit 89dcb94
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://x.com/loftwah" style="color: #007bff;">support team</a>.
</p>

0 comments on commit 89dcb94

Please sign in to comment.