Enable the performance bar in dev environments
This commit is contained in:
parent
097b067844
commit
b6bd77f5dd
|
@ -6,6 +6,7 @@ module WithPerformanceBar
|
||||||
end
|
end
|
||||||
|
|
||||||
def peek_enabled?
|
def peek_enabled?
|
||||||
|
return true if Rails.env.development?
|
||||||
return false unless Gitlab::PerformanceBar.enabled?(current_user)
|
return false unless Gitlab::PerformanceBar.enabled?(current_user)
|
||||||
|
|
||||||
if RequestStore.active?
|
if RequestStore.active?
|
||||||
|
|
Loading…
Reference in New Issue