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:
Diffstat (limited to 'app/controllers/concerns')
-rw-r--r--app/controllers/concerns/with_performance_bar.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/concerns/with_performance_bar.rb b/app/controllers/concerns/with_performance_bar.rb
index ed253042701..d08f6e17f88 100644
--- a/app/controllers/concerns/with_performance_bar.rb
+++ b/app/controllers/concerns/with_performance_bar.rb
@@ -3,6 +3,8 @@ module WithPerformanceBar
included do
include Peek::Rblineprof::CustomControllerHelpers
+ alias_method :performance_bar_enabled?, :peek_enabled?
+ helper_method :performance_bar_enabled?
end
def peek_enabled?