Compare commits
3 Commits
4e299d8126
...
fdc32381f8
Author | SHA1 | Date | |
---|---|---|---|
|
fdc32381f8 | ||
|
43ed5a56dd | ||
|
ead1f36dab |
@ -9,7 +9,7 @@ class QuestionMailer < ActionMailer::Base
|
||||
def send_contact(contact)
|
||||
@contact = contact
|
||||
|
||||
mail to: "info@nicolasbally.com",:reply_to => @contact.email.to_s, :subject => "[Contact site]"
|
||||
mail to: "info@nicolasbally.com,dmoiroud@ets-payre.fr",:reply_to => @contact.email.to_s, :subject => "[Contact site Energies 3P]"
|
||||
end
|
||||
|
||||
|
||||
|
@ -59,12 +59,13 @@ class Contact < ActiveRecord::Base
|
||||
:provenance_id => self.provenance_id
|
||||
}
|
||||
|
||||
|
||||
if Rails.env.development?
|
||||
api_url ="http://localhost:3030/admin/contacts/api"
|
||||
else
|
||||
api_url = "https://groupe-payre.fr/admin/contacts/api"
|
||||
end
|
||||
|
||||
|
||||
@c = Curl::Easy.new(api_url) do |curl|
|
||||
curl.verbose = true
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user