diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-23 12:37:46 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-23 12:37:46 +0000 |
commit | f9119150ec98a62c27345f8ecef1824de6b24d35 (patch) | |
tree | bd13ad0160cfdfe1b00a06b11059c0f1b410fcde /config | |
parent | 285ae60c15c913aa6145554ecbddf9b966ebd0e7 (diff) | |
parent | 6c3591279f394a4f23eda42a7db09bc09cad8f10 (diff) | |
download | gitlab-ce-f9119150ec98a62c27345f8ecef1824de6b24d35.tar.gz |
Merge branch 'rs-rails-env-predicates' into 'master'
Fix two places where we should be using `Rails.env.development?`
See merge request !550
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 |