File: railtie.rb

package info (click to toggle)
ruby-peek-rblineprof 0.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 124 kB
  • sloc: ruby: 139; javascript: 5; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'peek/rblineprof/controller_helpers'

module Peek
  module Rblineprof
    class Railtie < ::Rails::Engine
      initializer 'peek.rblineprof.include_controller_helpers' do
        ActiveSupport.on_load(:action_controller) do
          include Peek::Rblineprof::ControllerHelpers
        end
      end
    end
  end
end