Commit 78435433ea4b3e4b8d29477b04824e77ee4fef36
1 parent
74263211
Exists in
master
and in
1 other branch
Always show full error reports in production, since this is an internal applicat…
…ion, and not for public users.
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
config/environments/production.rb
| @@ -5,8 +5,9 @@ Errbit::Application.configure do | @@ -5,8 +5,9 @@ Errbit::Application.configure do | ||
| 5 | # Code is not reloaded between requests | 5 | # Code is not reloaded between requests |
| 6 | config.cache_classes = true | 6 | config.cache_classes = true |
| 7 | 7 | ||
| 8 | - # Full error reports are disabled and caching is turned on | ||
| 9 | - config.consider_all_requests_local = false | 8 | + # Full error reports are enabled, since this is an internal application. |
| 9 | + config.consider_all_requests_local = true | ||
| 10 | + # Caching is turned on | ||
| 10 | config.action_controller.perform_caching = true | 11 | config.action_controller.perform_caching = true |
| 11 | 12 | ||
| 12 | # Specifies the header that your server uses for sending files | 13 | # Specifies the header that your server uses for sending files |