metamaps--metamaps/config/initializers/paperclip.rb
2017-11-25 11:23:47 -08:00

5 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'