diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-04-20 18:28:19 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-04-20 18:28:19 -0400 |
commit | 6c3591279f394a4f23eda42a7db09bc09cad8f10 (patch) | |
tree | 2c7a7488db03236d4d42bd591a8dece58ba6e4d7 /config | |
parent | 76aade28e25d1f6e8924b35ed9bd365c8889987f (diff) | |
download | gitlab-ce-6c3591279f394a4f23eda42a7db09bc09cad8f10.tar.gz |
Fix two places where we should be using `Rails.env.development?`rs-rails-env-predicates
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/6_rack_profiler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/6_rack_profiler.rb b/config/initializers/6_rack_profiler.rb index b6340287569..bdad6202b11 100644 --- a/config/initializers/6_rack_profiler.rb +++ b/config/initializers/6_rack_profiler.rb @@ -1,4 +1,4 @@ -if Rails.env == 'development' +if Rails.env.development? require 'rack-mini-profiler' # initialization is skipped so trigger it |