Skip to content

Instantly share code, notes, and snippets.

@entombedvirus
Created February 24, 2009 22:00
Show Gist options
  • Select an option

  • Save entombedvirus/69817 to your computer and use it in GitHub Desktop.

Select an option

Save entombedvirus/69817 to your computer and use it in GitHub Desktop.
def path_to_image(*params)
path = super(*params)
path = "#{request.protocol}#{request.host_with_port}#{path}"
return path
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment