Skip to content

Instantly share code, notes, and snippets.

@vdw
Created December 8, 2015 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vdw/2612fbbf56ac5da6bee1 to your computer and use it in GitHub Desktop.
Save vdw/2612fbbf56ac5da6bee1 to your computer and use it in GitHub Desktop.
Set a remote path for assets
CarrierWave.configure do |config|
config.asset_host = proc do |file|
'http://www.domain.com'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment