Class: FaqMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/faq_mailer.rb

Instance Method Summary collapse

Instance Method Details

#propose_emailObject



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