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

4 lines
193 B
Ruby
Raw Permalink Normal View History

2016-09-24 11:00:46 +08:00
# frozen_string_literal: true
2016-02-03 21:38:41 +08:00
Paperclip::Attachment.default_options[:url] = ':s3_domain_url'
Paperclip::Attachment.default_options[:path] = '/:class/:attachment/:id_partition/:style/:filename'