see if we can make missing-map.png show up

This commit is contained in:
Devin Howard 2015-10-26 20:16:49 +08:00
parent b0327da649
commit 9d6372c7b9

View file

@ -12,7 +12,7 @@ class Map < ActiveRecord::Base
:thumb => ['188x126#', :png]
#:full => ['940x630#', :png]
},
:default_url => ActionController::Base.helpers.asset_path('missing-map.png')
:default_url => ActionController::Base.helpers.asset_path('images/missing-map.png')
# Validate the attached image is image/jpg, image/png, etc
validates_attachment_content_type :screenshot, :content_type => /\Aimage\/.*\Z/