Skip to content

Commit

Permalink
Updated correct paperclip.rb s3_host_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Gehani committed Nov 10, 2013
1 parent 65c0d5f commit 064a09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/paperclip.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# config/initializers/paperclip.rb
Paperclip::Attachment.default_options[:s3_host_name] = 'event_sample_images.amazonaws.com'
Paperclip::Attachment.default_options[:s3_host_name] = 'event_sample_images.s3.amazonaws.com'
Paperclip::Attachment.default_options[:path] = '/:class/:attachment/:id_partition/:style/:filename'

0 comments on commit 064a09c

Please sign in to comment.