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

5 lines
194 B
Ruby
Raw Normal View History

2016-09-24 03:00:46 +00:00
# frozen_string_literal: true
2017-10-17 01:15:47 +00:00
2016-02-03 13:38:41 +00:00
Paperclip::Attachment.default_options[:url] = ':s3_domain_url'
Paperclip::Attachment.default_options[:path] = '/:class/:attachment/:id_partition/:style/:filename'