Class: UserMailer

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

Instance Method Summary collapse

Instance Method Details

#propose_emailObject



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