bievre_app/app/mailers/question_mailer.rb
Caroline Girard dee35396f0 initial
2018-09-07 11:04:43 +02:00

17 lines
394 B
Ruby
Executable File

class QuestionMailer < ActionMailer::Base
default from: "contact@olwen-capital.com"
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
# en.question.deliver.subject
#
def send_contact(contact)
@contact = contact
mail to: "nbally@olwen-capital.com",:reply_to => @contact.email.to_s, :subject => "[Contact site]"
end
end