summaryrefslogtreecommitdiff
path: root/app/helpers/performance_bar_helper.rb
blob: d24efe37f5f53efa51b179ac7f3684ec93bf0f21 (plain)
1
2
3
4
5
6
7
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