def image_url(source)
URI.join(root_url, image_path(source))
end
This way you get url either using assets_host or joining with root_url.
def image_url(source)
URI.join(root_url, image_path(source))
end
This way you get url either using assets_host or joining with root_url.