metamaps--metamaps/config/initializers/paperclip.rb
2017-11-25 11:18:32 -08:00

4 lines
194 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'