Rails-based website for local business
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

49 lines
1.7 KiB

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