changement adresse mail
This commit is contained in:
parent
b4bec5e927
commit
f03b6464e1
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user