Sha256: c3ffd54055f5807ac95c6a625e0bb1fb07b871dbcda0b976bb31ee6e6eba9ddc

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require 'active_support/lazy_load_hooks'
require 'params_inquirer/action_controller/base'

module ParamsInquirer
  class Railtie < ::Rails::Railtie
    initializer 'initialize params_inquirer' do
      ActiveSupport.on_load(:action_controller) do
        ::ActionController::Base.send :include, ParamsInquirer::ActionController::Base
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
params_inquirer-0.0.2 lib/params_inquirer/railtie.rb