Class: UserMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- UserMailer
- Defined in:
- app/mailers/user_mailer.rb
Instance Method Summary collapse
Instance Method Details
#propose_email ⇒ Object
2 3 4 5 6 |
# File 'app/mailers/user_mailer.rb', line 2 def propose_email @author = params[:author] @propose = params[:propose] mail(to: email_address_with_name(@author.email, @author.label), subject: "[Faq] Inviata nuova proposta") end |