diff options
author | Andrew Newdigate <andrew@gitlab.com> | 2017-10-24 10:21:07 +0300 |
---|---|---|
committer | Andrew Newdigate <andrew@gitlab.com> | 2017-10-24 10:21:07 +0300 |
commit | 9f5d960c334edbb0936aa6da0f2772733c29d567 (patch) | |
tree | 397bedb76d75f9af5f11123f193a6c6384e697e2 | |
parent | d6d5b6fd7588a7b3528e7d69ef308ce43560033e (diff) |
Tidy up
-rw-r--r-- | app/controllers/concerns/with_performance_bar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/with_performance_bar.rb b/app/controllers/concerns/with_performance_bar.rb index 8961359781f..6a71d2c5312 100644 --- a/app/controllers/concerns/with_performance_bar.rb +++ b/app/controllers/concerns/with_performance_bar.rb @@ -10,7 +10,7 @@ module WithPerformanceBar cookie = cookies[:perf_bar_enabled] - if !cookie.present? + unless cookie.present? if Rails.env.development? cookies[:perf_bar_enabled] = 'true' return true |