From 56d7747f54e86993415b76c92e101608e5ea44e2 Mon Sep 17 00:00:00 2001 From: James Thompson Date: Wed, 14 Mar 2012 11:40:16 +0200 Subject: initial commit --- spec/dummy/config/initializers/refinery/core.rb | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 spec/dummy/config/initializers/refinery/core.rb (limited to 'spec/dummy/config/initializers/refinery/core.rb') diff --git a/spec/dummy/config/initializers/refinery/core.rb b/spec/dummy/config/initializers/refinery/core.rb new file mode 100644 index 0000000..4116321 --- /dev/null +++ b/spec/dummy/config/initializers/refinery/core.rb @@ -0,0 +1,48 @@ +Refinery::Core.configure do |config| + # When true will rescue all not found errors and display a friendly error page + config.rescue_not_found = Rails.env.production? + + # When true will use Amazon's Simple Storage Service instead of + # the default file system for storing resources and images + config.s3_backend = !(ENV['S3_KEY'].nil? || ENV['S3_SECRET'].nil?) + + # Whenever Refinery caches anything and can set a cache key, it will add + # a prefix to the cache key containing the string you set here. + # config.base_cache_key = :refinery + + # Site name + # config.site_name = "Company Name" + + # This activates Google Analytics tracking within your website. If this + # config is left blank or set to UA-xxxxxx-x then no remote calls to + # Google Analytics are made. + # config.google_analytics_page_code = "UA-xxxxxx-x" + + # Enable/disable authenticity token on frontend + # config.authenticity_token_on_frontend = true + + # Hide/show child pages in menu + # config.menu_hide_children = false + + # CSS class selectors for menu helper + # config.menu_css = {:selected=>"selected", :first=>"first", :last=>"last"} + + # Should set this if concerned about DOS attacks. See + # http://markevans.github.com/dragonfly/file.Configuration.html#Configuration + # config.dragonfly_secret = "1233e9522234bda0c00d18011008f76212c3ba6e89935bb4" + + # Show/hide IE6 upgrade message in the backend + # config.ie6_upgrade_message_enabled = true + + # Show/hide browser update message in the backend + # config.show_internet_explorer_upgrade_message = false + + # Add extra tags to the wymeditor whitelist e.g. = {'tag' => {'attributes' => {'1' => 'href'}}} or just {'tag' => {}} + # config.wymeditor_whitelist_tags = {} + + # Register extra javascript for backend + # config.register_javascript "prototype-rails" + + # Register extra stylesheet for backend (optional options) + # config.register_stylesheet "custom", :media => 'screen' +end -- cgit v1.2.3