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