Module: Revise::Mailers::Invitable
- Defined in:
- lib/revise/mailers/invitable.rb
Class Method Summary collapse
Class Method Details
.extended(klass) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/revise/mailers/invitable.rb', line 4 def self.extended(klass) klass.mailer :invitable do email :invitation_instructions do |name, email, invitation_token| from Revise.mailer_from to email subject t('revise.invitable.invitation_instructions.subject', :domain => ENV['DOMAIN']) locals :name => name, :email => email, :invitation_token => invitation_token render 'revise/invitation_instructions' content_type :html end end end |