metamaps--metamaps/config/initializers/paperclip.rb
2016-09-24 11:00:46 +08:00

4 lines
193 B
Ruby

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