1 UKPortal::Application.configure do
2 # Settings specified here will take precedence over those in config/environment.rb
4 # The production environment is meant for finished, "live" apps.
5 # Code is not reloaded between requests
6 config.cache_classes = true
8 # Full error reports are disabled and caching is turned on
9 config.consider_all_requests_local = false
10 config.action_controller.perform_caching = true
12 # Specifies the header that your server uses for sending files
13 config.action_dispatch.x_sendfile_header = "X-Sendfile"
16 # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
18 # If you have no front-end server that supports something like X-Sendfile,
19 # just comment this out and Rails will serve the files
21 # See everything in the log (default is :info)
22 # config.log_level = :debug
24 # Use a different logger for distributed setups
25 # config.logger = SyslogLogger.new
27 # Use a different cache store in production
28 # config.cache_store = :mem_cache_store
30 # Disable Rails's static asset server
31 # In production, Apache or nginx will already do this
32 config.serve_static_assets = false
34 # Enable serving of images, stylesheets, and javascripts from an asset server
35 # config.action_controller.asset_host = "http://assets.example.com"
37 # Disable delivery errors, bad email addresses will be ignored
38 # config.action_mailer.raise_delivery_errors = false
40 # Enable threaded mode
43 # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
44 # the I18n.default_locale when a translation can not be found)
45 config.i18n.fallbacks = true
47 # Send deprecation notices to registered listeners
48 config.active_support.deprecation = :notify