summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-07-03 19:09:14 +0200
committerRémy Coutable <remy@rymai.me>2017-07-06 11:18:26 +0200
commitcdc1179facda972671cd80229a1db43b7f20bd52 (patch)
tree27b9dcb44a7c900b10d40698daefb6c5fba9c0a5 /app/controllers
parent19b8d8af2c74e0ff241356d5ccb5890baa6fb7c8 (diff)
downloadgitlab-ce-cdc1179facda972671cd80229a1db43b7f20bd52.tar.gz
Improve feature flag check for the performance bar
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/concerns/with_performance_bar.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/concerns/with_performance_bar.rb b/app/controllers/concerns/with_performance_bar.rb
index d08f6e17f88..ed253042701 100644
--- a/app/controllers/concerns/with_performance_bar.rb
+++ b/app/controllers/concerns/with_performance_bar.rb
@@ -3,8 +3,6 @@ module WithPerformanceBar
included do
include Peek::Rblineprof::CustomControllerHelpers
- alias_method :performance_bar_enabled?, :peek_enabled?
- helper_method :performance_bar_enabled?
end
def peek_enabled?