Class: UserMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- UserMailer
- Defined in:
- lib/app/mailers/user_mailer.rb
Instance Method Summary collapse
Instance Method Details
#welcome_email ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/app/mailers/user_mailer.rb', line 4 def welcome_email @user = params[:user] mail( to: @user.email, subject: 'Welcome to CK Blogs' ) end |