metamaps--metamaps/config/initializers/paperclip.rb

2 lines
163 B
Ruby
Raw Normal View History

Paperclip::Attachment.default_options[:url] = ':s3_domain_url'
Paperclip::Attachment.default_options[:path] = '/:class/:attachment/:id_partition/:style/:filename'