Class: Pageflow::UserMailer

Inherits:
ActionMailer::Base
  • Object
show all
Includes:
Resque::Mailer
Defined in:
app/mailers/pageflow/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#invitation(options) ⇒ Object


5
6
7
8
# File 'app/mailers/pageflow/user_mailer.rb', line 5

def invitation(options)
  @user = User.find(options['user_id'])
  mail(:to => @user.email, :subject => t('.subject'), :from => Pageflow.config.mailer_sender)
end