Sha256: f524218413880e8b670a5fa206a68c8da7d4b4ed8751e51b9503dfd44221bf47

Contents?: true

Size: 1018 Bytes

Versions: 1

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 = 'd0cdb507464ddb5a4f3b0388b25093f1db67917a9f64429f8c1d3a7b61f8ff75'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
push_type_wysiwyg-0.4.0.beta.3 test/dummy/config/initializers/push_type.rb