Sha256: 6f84d7b749363e4203d5992627b839c15ae07e0e63bc2945658ec54e6743499f

Contents?: true

Size: 545 Bytes

Versions: 6

Compression:

Stored size: 545 Bytes

Contents

Pageflow.configure do |config|
  config.paperclip_filesystem_root = Rails.root.join('tmp/attachments/test/filesystem')
  config.paperclip_s3_root = 'test-host'

  config.paperclip_s3_default_options.merge!(
    storage: :filesystem,
    url: '/system/s3/:class/:attachment/:id_partition/:style/:filename',
    path: ':rails_root/public:url'
  )

  config.paperclip_direct_upload_options = lambda do |_|
    {
      url: '#',
      fields: []
    }
  end
end

# Reconstruct current config to ensure config block above is used
Pageflow.configure!

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pageflow-support-14.0.0 pageflow/dummy/config/pageflow.rb
pageflow-support-14.0.0.rc2 pageflow/dummy/config/pageflow.rb
pageflow-support-14.0.0.rc1 pageflow/dummy/config/pageflow.rb
pageflow-support-14.0.0.beta3 pageflow/dummy/config/pageflow.rb
pageflow-support-14.0.0.beta2 pageflow/dummy/config/pageflow.rb
pageflow-support-14.0.0.beta1 pageflow/dummy/config/pageflow.rb