From f03b6464e11d1e3bdc954a49250e2ab6c57f510f Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Fri, 1 Jul 2011 13:40:41 +0200 Subject: [PATCH] changement adresse mail --- app/mailers/notification.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/mailers/notification.rb b/app/mailers/notification.rb index 658e376..c2b0155 100644 --- a/app/mailers/notification.rb +++ b/app/mailers/notification.rb @@ -1,6 +1,6 @@ # -*- encoding : utf-8 -*- class Notification < ActionMailer::Base - default :from => "admin@pharmacieboissier.com" + default :from => "contact@pharmacieboissier.com" # Subject can be set in your I18n file at config/locales/en.yml # with the following lookup: @@ -8,7 +8,7 @@ class Notification < ActionMailer::Base # en.notification.prescription_received.subject # def prescription_received - mail(:to => "info@pharmacieboissier.com ", :subject => "Nouvelle ordonnance reçu.") do |format| + mail(:to => "contact@pharmacieboissier.com ", :subject => "Nouvelle ordonnance reçu.") do |format| format.html { render :inline => "Une nouvelle ordonnance à été reçu sur le site de la pharmacie." } end