diff options
author | lest <just.lest@gmail.com> | 2011-11-24 22:37:48 +0300 |
---|---|---|
committer | lest <just.lest@gmail.com> | 2011-11-25 13:09:46 +0300 |
commit | cd9d28d6fdff6819dac3c6643fe882eb568b5a39 (patch) | |
tree | 51f564da303f193576bc022a3fafae093748b445 /railties/lib/rails | |
parent | 0cd3bf84068dd2b2d0bbb26062f2cdc7093a1b04 (diff) | |
download | rails-cd9d28d6fdff6819dac3c6643fe882eb568b5a39.tar.gz rails-cd9d28d6fdff6819dac3c6643fe882eb568b5a39.tar.bz2 rails-cd9d28d6fdff6819dac3c6643fe882eb568b5a39.zip |
middlewares should use logger from env
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/application.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 847445d29f..25ff74506a 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -123,7 +123,8 @@ module Rails @env_config ||= super.merge({ "action_dispatch.parameter_filter" => config.filter_parameters, "action_dispatch.secret_token" => config.secret_token, - "action_dispatch.show_exceptions" => config.action_dispatch.show_exceptions + "action_dispatch.show_exceptions" => config.action_dispatch.show_exceptions, + "action_dispatch.logger" => Rails.logger }) end |