Skip to content

Commit

Permalink
consider_all_requests_local should be off by default in production mode
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyken committed Dec 28, 2013
1 parent 3d35e34 commit 025a113
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
# Code is not reloaded between requests
config.cache_classes = true

# Full error reports are enabled, since this is an internal application.
config.consider_all_requests_local = true
# Caching is turned on
# Full error reports are disabled and caching is turned on.
config.consider_all_requests_local = false
config.action_controller.perform_caching = true

# Disable Rails's static asset server (Apache or nginx will already do this)
Expand Down

0 comments on commit 025a113

Please sign in to comment.