This seems to be a hack, but it works:
config.action_controller.asset_host = Proc.new { |source|
if source =~ /\b(.png|.jpg|.gif)\b/i
"https://s3.amazonaws.com/bucketName"
end
}
The folder should be named assets inside this bucket, not images.
source
share