changement adresse mail

This commit is contained in:
Nicolas Bally 2011-07-01 13:40:41 +02:00
parent b4bec5e927
commit f03b6464e1

View File

@ -1,6 +1,6 @@
# -*- encoding : utf-8 -*- # -*- encoding : utf-8 -*-
class Notification < ActionMailer::Base 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 # Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup: # with the following lookup:
@ -8,7 +8,7 @@ class Notification < ActionMailer::Base
# en.notification.prescription_received.subject # en.notification.prescription_received.subject
# #
def prescription_received 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." } format.html { render :inline => "Une nouvelle ordonnance à été reçu sur le site de la pharmacie." }
end end