Depending on whether colorbox-rails/colorbox-rails.css is compiled
into application.css or loaded independently, relative image URLs will
point to different directories. asset_path figures out the right
absolute path to the image, but needs ERb (or Sass) to do it.
Depending on whether colorbox-rails/colorbox-rails.css is compiled into application.css or loaded independently, relative image URLs will point to different directories.
asset_path
figures out the right absolute path to the image, but needs ERb (or Sass) to do it.See https://github.com/stevo/colorbox-rails/issues/4