Class: ReviseAuth::Mailer
- Inherits:
-
ApplicationMailer
- Object
- ApplicationMailer
- ReviseAuth::Mailer
- Defined in:
- app/mailers/revise_auth/mailer.rb
Instance Method Summary collapse
Instance Method Details
#confirm_email ⇒ Object
2 3 4 5 6 7 8 |
# File 'app/mailers/revise_auth/mailer.rb', line 2 def confirm_email @user = params[:user] @token = params[:token] @url = "?confirmation_token=" + @token mail to: @user end |