Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2017-10-24 10:21:07 +0300
committerAndrew Newdigate <andrew@gitlab.com>2017-10-24 10:21:07 +0300
commit9f5d960c334edbb0936aa6da0f2772733c29d567 (patch)
tree397bedb76d75f9af5f11123f193a6c6384e697e2
parentd6d5b6fd7588a7b3528e7d69ef308ce43560033e (diff)
Tidy up
-rw-r--r--app/controllers/concerns/with_performance_bar.rb2
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