Sha256: 8e64950825eb8c7b5d66954193fa82d978c8e1049d724b25608ae2683baa79b3

Contents?: true

Size: 1.41 KB

Versions: 9

Compression:

Stored size: 1.41 KB

Contents

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.datastore_root_path = <%= Refinery::Resources.datastore_root_path.inspect %>

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
refinerycms-resources-2.0.8 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.0.7 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.0.6 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.0.5 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.0.4 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.0.3 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.0.2 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.0.1 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb
refinerycms-resources-2.0.0 lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb