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 this will force SSL redirection in all Refinery backend controllers. # config.force_ssl = <%= Refinery::Core.force_ssl.inspect %> # 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::Core.base_cache_key.inspect %> # Site name # config.site_name = <%= Refinery::Core.site_name.inspect %> # 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 = <%= Refinery::Core.google_analytics_page_code.inspect %> # Enable/disable authenticity token on frontend # config.authenticity_token_on_frontend = <%= Refinery::Core.authenticity_token_on_frontend.inspect %> # Hide/show child pages in menu # config.menu_hide_children = <%= Refinery::Core.menu_hide_children.inspect %> # CSS class selectors for menu helper # config.menu_css = <%= Refinery::Core.menu_css.inspect %> # Should set this if concerned about DOS attacks. See # http://markevans.github.com/dragonfly/file.Configuration.html#Configuration # config.dragonfly_secret = <%= Refinery::Core.dragonfly_secret.inspect %> # Show/hide IE6 upgrade message in the backend # config.ie6_upgrade_message_enabled = <%= Refinery::Core.ie6_upgrade_message_enabled.inspect %> # Show/hide browser update message in the backend # config.show_internet_explorer_upgrade_message = <%= Refinery::Core.show_internet_explorer_upgrade_message.inspect %> # Add extra tags to the wymeditor whitelist e.g. = {'tag' => {'attributes' => {'1' => 'href'}}} or just {'tag' => {}} # config.wymeditor_whitelist_tags = <%= Refinery::Core.wymeditor_whitelist_tags.inspect %> # Register extra javascript for backend # config.register_javascript "prototype-rails" # Register extra stylesheet for backend (optional options) # config.register_stylesheet "custom", :media => 'screen' end