diff --git a/app/models/talk.rb b/app/models/talk.rb index fd3e0cd..340c97b 100644 --- a/app/models/talk.rb +++ b/app/models/talk.rb @@ -1,7 +1,7 @@ class Talk < ActiveResource::Base has_many :selections, class_name: 'SelectedTalk' - self.site = 'https://cfp.openfest.org/api/conferences/11' + self.site = ENV['GAUGE_TALKS_ENDPOINT'] || 'https://cfp.openfest.org/api/conferences/1' self.element_name = 'event' def self.ordered_by_id