Browse Source

Fix for email confirmation

development
Godwin 8 years ago
parent
commit
b18dbbed49
  1. 4
      app/mailers/user_mailer.rb

4
app/mailers/user_mailer.rb

@ -9,9 +9,9 @@ class UserMailer < ActionMailer::Base
default from: "Bike!Bike! <noreply@bikebike.org>"
def email_confirmation(confirmation)
@confirmation = confirmation
@confirmation = EmailConfirmation.find(confirmation)
@subject = _'email.subject.confirm_email','Please confirm your email address'
mail to: confirmation.user.named_email, subject: @subject
mail to: @confirmation.user.named_email, subject: @subject
end
def registration_confirmation(registration)

Loading…
Cancel
Save