ruby on rails - Carrierwave default Image not showing in Heroku -


hi working carrierwave , using default image below.

def default_url  actioncontroller::base.helpers.asset_path([version_name, "image.png"].compact.join('_')) end 

it working fine in development image not loading in production in heroku.

the image url showing below both in production , development.

/assets/tiny_thumb_image.png 

but have checked

puts helper.asset_path("small_thumb_image.png") 

in heroku console. output below fingerprints included in filename.

/assets/tiny_thumb_image-2372152cb18fd9aac1004f781047ee6a.png

i have included

config.serve_static_assets = true 

try uploading default image

assets/images  

path, how works me


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -