Sha256: 4717f9bed2e3e3c7b19c9018a171071c08be36c793bc31669c316d714cdd667a

Contents?: true

Size: 1.92 KB

Versions: 6

Compression:

Stored size: 1.92 KB

Contents

# encoding: utf-8
Refinery::Resources.configure do |config|
  # Configures the maximum allowed upload size (in bytes) for a file upload
  # config.max_file_size = <%= Refinery::Resources.max_file_size.inspect %>

  # Configure how many resources per page should be displayed when a dialog is presented that contains resources
  # config.pages_per_dialog = <%= Refinery::Resources.pages_per_dialog.inspect %>

  # Configure how many resources per page should be displayed in the list of resources in the admin area
  # config.pages_per_admin_index = <%= Refinery::Resources.pages_per_admin_index.inspect %>

  # Configure S3 (you can also use ENV for this)
  # The s3_backend setting by default defers to the core setting for this but can be set just for resources.
  # config.s3_backend = Refinery::Core.s3_backend
  # config.s3_bucket_name = ENV['S3_BUCKET']
  # config.s3_access_key_id = ENV['S3_KEY']
  # config.s3_secret_access_key = ENV['S3_SECRET']
  # config.s3_region = ENV['S3_REGION']

  # Configure Dragonfly
  # This is where in the middleware stack to insert the Dragonfly middleware
  # config.dragonfly_insert_before = <%= Refinery::Resources.dragonfly_insert_before.inspect %>
  # config.dragonfly_secret = <%= Refinery::Resources.dragonfly_secret.inspect %>
  # config.dragonfly_url_format = <%= Refinery::Resources.dragonfly_url_format.inspect %>
  # config.dragonfly_url_host = <%= Refinery::Resources.dragonfly_url_host.inspect %>
  # config.datastore_root_path = <%= Refinery::Resources.datastore_root_path.inspect %>
  # config.content_disposition = <%= Refinery::Resources.content_disposition.inspect %>

  # Configure Dragonfly custom storage backend
  # The custom_backend setting by default defers to the core setting for this but can be set just for resources.
  # config.custom_backend_class = <%= Refinery::Resources.custom_backend_class.inspect %>
  # config.custom_backend_opts = <%= Refinery::Resources.custom_backend_opts.inspect %>

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-resources-2.1.5 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.1.4 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.1.3 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.1.2 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.1.1 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.1.0 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb