# 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 # config.dragonfly_verify_urls = <%= Refinery::Resources.dragonfly_verify_urls %> # 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