suite
This commit is contained in:
parent
0dbc0c7e2a
commit
4e299d8126
@ -59,9 +59,12 @@ class Contact < ActiveRecord::Base
|
||||
:provenance_id => self.provenance_id
|
||||
}
|
||||
|
||||
#api_url = "https://groupe-payre.fr/admin/contacts/api"
|
||||
api_url ="http://localhost:3030/admin/contacts/api"
|
||||
|
||||
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