lazyload-rails icon indicating copy to clipboard operation
lazyload-rails copied to clipboard

use image_url instead of static image name for asset pipeline to work

Open marcelkalveram opened this issue 7 years ago • 0 comments

If you're using Rails' asset pipeline to generate the empty image, you need to use the image_url method so that it appends the hash to it, otherwise Rails won't find the file after asset compilation.

marcelkalveram avatar Mar 05 '18 18:03 marcelkalveram