BigW Consortium Gitlab

performance_bar_helper.rb 242 Bytes
Newer Older
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