diff options
author | lest <just.lest@gmail.com> | 2011-11-21 20:13:54 +0300 |
---|---|---|
committer | lest <just.lest@gmail.com> | 2011-11-22 11:38:24 +0300 |
commit | a9e8cf78fda696738f63e726796f6232c3751603 (patch) | |
tree | e1e12a371dd995ffc2f843ea9ae4fe8d4f7ada78 /railties/lib/rails | |
parent | 8f57bf207ff4f28fa8da4544ebc573007b65439d (diff) | |
download | rails-a9e8cf78fda696738f63e726796f6232c3751603.tar.gz rails-a9e8cf78fda696738f63e726796f6232c3751603.tar.bz2 rails-a9e8cf78fda696738f63e726796f6232c3751603.zip |
add ActionController::Metal#show_detailed_exceptions?
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 82fffe86bb..817fa39cab 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -166,7 +166,7 @@ module Rails middleware.use ::Rack::MethodOverride middleware.use ::ActionDispatch::RequestId middleware.use ::Rails::Rack::Logger, config.log_tags # must come after Rack::MethodOverride to properly log overridden methods - middleware.use ::ActionDispatch::ShowExceptions, config.consider_all_requests_local + middleware.use ::ActionDispatch::ShowExceptions middleware.use ::ActionDispatch::RemoteIp, config.action_dispatch.ip_spoofing_check, config.action_dispatch.trusted_proxies if config.action_dispatch.x_sendfile_header.present? middleware.use ::Rack::Sendfile, config.action_dispatch.x_sendfile_header |