does this fix missing-map.png?
This commit is contained in:
parent
5ce460e967
commit
43c851e6b4
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class Map < ActiveRecord::Base
|
|||
:thumb => ['188x126#', :png]
|
||||
#:full => ['940x630#', :png]
|
||||
},
|
||||
:default_url => ActionController::Base.helpers.asset_path('images/missing-map.png')
|
||||
:default_url => ApplicationController.helpers.asset_path('missing-map.png')
|
||||
|
||||
# Validate the attached image is image/jpg, image/png, etc
|
||||
validates_attachment_content_type :screenshot, :content_type => /\Aimage\/.*\Z/
|
||||
|
|
Loading…
Reference in a new issue