Sha256: 49d4ed2d35933dfee5f798c6df40b89441380ca0854b7b39c48577c71e0ff4de

Contents?: true

Size: 1018 Bytes

Versions: 2

Compression:

Stored size: 1018 Bytes

Contents

PushType.setup do |config|

  config.root_nodes = :all

  config.unexposed_nodes = []

  config.home_slug = 'home'

  config.unexposed_taxonomies = []

  config.media_styles = {
    large:    '1024x1024>',
    medium:   '512x512>',
    small:    '256x256>'
  }

  # Configure the default mailer "from" address
  config.mailer_sender = 'pushtype@example.com'

  # Dragonfly datastore configuration
  config.dragonfly_datastore = :file
  config.dragonfly_datastore_options = {
    root_path:    Rails.root.join('public/system/dragonfly', Rails.env),
    server_root:  Rails.root.join('public')
  }
  
  # For S3 storage, remember to add to Gemfile:
  # gem 'dragonfly-s3_data_store'
  # config.dragonfly_datastore = :s3
  # config.dragonfly_datastore_options = {
  #   bucket_name:        ENV['S3_BUCKET'],
  #   access_key_id:      ENV['S3_ACCESS_KEY_ID'],
  #   secret_access_key:  ENV['SECRET_ACCESS_KEY_ID']
  # }

  # config.dragonfly_secret = 'c54537f9f7b5b95dad76f7d1b1f8574501ecdb7e3a26ee0fe7fae23aac6b2b5e'

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
push_type_wysiwyg-0.5.0.alpha.2 test/dummy/config/initializers/push_type.rb
push_type_wysiwyg-0.5.0.alpha.1 test/dummy/config/initializers/push_type.rb