Added city radius provider option

This commit is contained in:
Godwin
2017-01-10 19:37:00 -08:00
parent 1ad3feb101
commit 39b5d4b901
8 changed files with 59 additions and 6 deletions
+4
View File
@@ -153,4 +153,8 @@ class Conference < ActiveRecord::Base
Conference.conference_types[(type || :annual).to_sym][:title].gsub('%{city}', city).gsub('%{year}', year.to_s)
end
def self.default_provider_conditions
{ 'distance' => { 'number' => 0, 'unit' => 'mi' }}
end
end