Class: UserMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- UserMailer
- Defined in:
- app/mailers/user_mailer.rb
Overview
This mailer is used to notify a user that registered that their account has been approved. NOTE: this is not fully implemented due to lack of requirment, so you should view this as a starting point for extending the application.
Class Method Summary (collapse)
-
+ (Object) notify_user(user)
the view for this email is textual and it should be extended to have a link to the site in the email.
Class Method Details
+ (Object) notify_user(user)
the view for this email is textual and it should be extended to have a link to the site in the email. view: /app/views/user_mailer/notify_user.text.erb
12 13 14 15 |
# File 'app/mailers/user_mailer.rb', line 12 def self.notify_user(user) @user = user mail(to: @user.email, subject: 'Chemistry Geneology registration') end |