remove secrets.yml stuff because it doesn't work with heroku
This commit is contained in:
parent
10b58399a7
commit
3674aefb04
3 changed files with 2 additions and 14 deletions
|
@ -12,7 +12,7 @@ class Map < ActiveRecord::Base
|
|||
:thumb => ['188x126#', :png]
|
||||
#:full => ['940x630#', :png]
|
||||
},
|
||||
:default_url => Rails.application.secrets.missing_map_png_url
|
||||
:default_url => 'https://s3.amazonaws.com/metamaps-assets/site/missing-map.png'
|
||||
|
||||
# Validate the attached image is image/jpg, image/png, etc
|
||||
validates_attachment_content_type :screenshot, :content_type => /\Aimage\/.*\Z/
|
||||
|
|
|
@ -35,7 +35,7 @@ class User < ActiveRecord::Base
|
|||
:ninetysix => ['96x96#', :png],
|
||||
:onetwentyeight => ['128x128#', :png]
|
||||
},
|
||||
:default_url => Rails.application.secrets.user_png_url
|
||||
:default_url => 'https://s3.amazonaws.com/metamaps-assets/site/user.png'
|
||||
|
||||
# Validate the attached image is image/jpg, image/png, etc
|
||||
validates_attachment_content_type :image, :content_type => /\Aimage\/.*\Z/
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
defaults: &defaults
|
||||
missing_map_png_url: 'https://s3.amazonaws.com/metamaps-assets/site/missing-map.png'
|
||||
user_png_url: 'https://s3.amazonaws.com/metamaps-assets/site/user.png'
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
||||
test:
|
||||
<<: *defaults
|
||||
|
||||
production:
|
||||
<<: *defaults
|
Loading…
Reference in a new issue