kbingman / paperclipped

Please note, this extension is no longer being developed. Please take a look at the radiant-clipped-extension instead. Radiant extension for managing assets and images with the Paperclip plugin.
Other
122 stars 64 forks source link

Serve assets through a CDN (0.8) #37

Open blatyo opened 13 years ago

blatyo commented 13 years ago

I need to serve assets through a CDN and stock paperclip supports that by specifying:

:s3_host_alias => "www.cdn.com",
:url => ":s3_alias_url"

Currently, paperclipped doesn't have a setting for :s3_host_alias, so this pull request attempts to remedy that.

This is a backport of the other pull request I made for the version that we use.