gitlab-org--gitlab-foss/app/helpers/performance_bar_helper.rb
2018-09-06 17:33:46 -07:00

9 lines
273 B
Ruby

# frozen_string_literal: true
module PerformanceBarHelper
# This is a hack since using `alias_method :performance_bar_enabled?, :peek_enabled?`
# in WithPerformanceBar breaks tests (but works in the browser).
def performance_bar_enabled?
peek_enabled?
end
end