Sha256: 1901b6191c18e4800dc507f50f7591a46a47e414867aabb6c325dd9c64c1a875

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require 'speed_gun/profiler/active_support_notifications_profiler'

class SpeedGun::Profiler::ActionControllerProfiler <
  SpeedGun::Profiler::ActiveSupportNotificatiosProfiler

  subscribe(
    /^(process_action|send_file|send_data|redirect_to)\.action_controller$/,
    [:request]
  )

  def self.name
    'action_controller'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
speed_gun-1.0.0.rc1 lib/speed_gun/profiler/action_controller_profiler.rb