From 56d7747f54e86993415b76c92e101608e5ea44e2 Mon Sep 17 00:00:00 2001 From: James Thompson Date: Wed, 14 Mar 2012 11:40:16 +0200 Subject: initial commit --- .../config/initializers/refinery/resources.rb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 spec/dummy/config/initializers/refinery/resources.rb (limited to 'spec/dummy/config/initializers/refinery/resources.rb') diff --git a/spec/dummy/config/initializers/refinery/resources.rb b/spec/dummy/config/initializers/refinery/resources.rb new file mode 100644 index 0000000..14ba1c7 --- /dev/null +++ b/spec/dummy/config/initializers/refinery/resources.rb @@ -0,0 +1,26 @@ +Refinery::Resources.configure do |config| + # Configures the maximum allowed upload size (in bytes) for a file upload + # config.max_file_size = 52428800 + + # Configure how many resources per page should be displayed when a dialog is presented that contains resources + # config.pages_per_dialog = 12 + + # Configure how many resources per page should be displayed in the list of resources in the admin area + # config.pages_per_admin_index = 20 + + # 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 = "ActionDispatch::Callbacks" + # config.dragonfly_secret = "1233e9522234bda0c00d18011008f76212c3ba6e89935bb4" + # config.dragonfly_url_format = "/system/resources/:job/:basename.:format" + # config.datastore_root_path = nil + +end -- cgit v1.2.3