diff options
author | kennyj <kennyj@gmail.com> | 2012-01-27 23:01:14 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-01-27 23:01:14 +0900 |
commit | 2e7d6ff08ddcb4f90f1ee78f28e102fb75990f0a (patch) | |
tree | 22750307c7fc88fd5bd963f78ab1f3ef7e0ecb0c /railties/lib/rails/application | |
parent | f22a0e2f1d55af4c16abbe29158d190053374a76 (diff) | |
download | rails-2e7d6ff08ddcb4f90f1ee78f28e102fb75990f0a.tar.gz rails-2e7d6ff08ddcb4f90f1ee78f28e102fb75990f0a.tar.bz2 rails-2e7d6ff08ddcb4f90f1ee78f28e102fb75990f0a.zip |
Remove redundant instance_variables (@colorize_logging)
Diffstat (limited to 'railties/lib/rails/application')
-rw-r--r-- | railties/lib/rails/application/configuration.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index 9e9d26a783..1ad08220ee 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -112,11 +112,10 @@ module Rails end def colorize_logging - @colorize_logging + ActiveSupport::LogSubscriber.colorize_logging end def colorize_logging=(val) - @colorize_logging = val ActiveSupport::LogSubscriber.colorize_logging = val self.generators.colorize_logging = val end |