Does Rails have a built in helper to get the url of an image in the asset pipeline?
path_to_image('image.jpg')
gets the relative path.
url_to_image('image.jpg')
doesn't seem to work.
"#{root_url}#{path_to_image('image.jpg')}"
is not very convenient (and gives an extra / between the root and the image path).
Is there a built in method that I'm overlooking? Or do I need to create a helper?