Class: MerbAuth::UserMailer
- Inherits:
-
Merb::MailController
- Object
- Merb::MailController
- MerbAuth::UserMailer
- Defined in:
- app/mailers/user_mailer.rb
Instance Method Summary collapse
Instance Method Details
#activation ⇒ Object
12 13 14 15 16 17 |
# File 'app/mailers/user_mailer.rb', line 12 def activation @ivar = params[MA[:single_resource]] Merb.logger.info "Sending Activation email to #{@ivar.email}" instance_variable_set("@#{MA[:single_resource]}", @ivar ) render_utf8_mail :text => :activation, :layout => nil end |
#forgot_password ⇒ Object
19 20 21 22 23 |
# File 'app/mailers/user_mailer.rb', line 19 def forgot_password @ivar = params[MA[:single_resource]] instance_variable_set("@#{MA[:single_resource]}", @ivar ) render_utf8_mail :text => :forgot_password, :layout => nil end |
#signup ⇒ Object
5 6 7 8 9 10 |
# File 'app/mailers/user_mailer.rb', line 5 def signup @ivar = params[MA[:single_resource]] Merb.logger.info "Sending Signup to #{@ivar.email} with code #{@ivar.activation_code}" instance_variable_set("@#{MA[:single_resource]}", @ivar ) render_utf8_mail :text => :signup, :layout => nil end |