Sha256: 7c85b6a4bc37c4a6f7e391f696b608ee81e3882edfefc9146f841d321c6fe47a

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 = '2b713fa7e6753eee0c32f42b45827a6a3205f8409ccf9a02aa822270652fee08'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
push_type_auth-0.4.0 test/dummy/config/initializers/push_type.rb