Try image_url rather than image_path
-Rob
Rob Biedenharn http://agileconsultingllc.com
R...@AgileConsultingLLC.com
So write one! (or try this untested one)
def image_url(source)
abs_path = image_path(source)
unless abs_path =~ /\Ahttp/
abs_path = "http#{'s' if https?}://#{host_with_port}/#{abs_path}"
end
abs_path
end
Put it in a helper such as app/helpers/application_helper.rb