metamaps--metamaps/config/initializers/paperclip.rb
2016-02-05 11:43:15 +08:00

2 lines
No EOL
162 B
Ruby

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