From b6bd77f5dd33d66e2314cdd8266f1f0a6dd0fc23 Mon Sep 17 00:00:00 2001 From: Zeger-Jan van de Weg Date: Wed, 13 Dec 2017 15:14:58 +0100 Subject: [PATCH] Enable the performance bar in dev environments --- app/controllers/concerns/with_performance_bar.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/concerns/with_performance_bar.rb b/app/controllers/concerns/with_performance_bar.rb index ed253042701..230bbe4b1aa 100644 --- a/app/controllers/concerns/with_performance_bar.rb +++ b/app/controllers/concerns/with_performance_bar.rb @@ -6,6 +6,7 @@ module WithPerformanceBar end def peek_enabled? + return true if Rails.env.development? return false unless Gitlab::PerformanceBar.enabled?(current_user) if RequestStore.active?