Compare commits

..

No commits in common. "fdc32381f886eb99572ce9aec22e9e50c7492b71" and "4e299d812670955ed61831a78c3bdb189306bfc9" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,7 @@ class QuestionMailer < ActionMailer::Base
def send_contact(contact)
@contact = contact
mail to: "info@nicolasbally.com,dmoiroud@ets-payre.fr",:reply_to => @contact.email.to_s, :subject => "[Contact site Energies 3P]"
mail to: "info@nicolasbally.com",:reply_to => @contact.email.to_s, :subject => "[Contact site]"
end

View File

@ -59,13 +59,12 @@ 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