Class: UserMailer

Inherits:
ApplicationMailer show all
Defined in:
lib/app/mailers/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#welcome_emailObject



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