Sha256: 817bf3320cb67adb0f2c265ff0bca7aba14916c7187a8ccb4e88c6fe92605e49

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

module RailsApiDoc
  class Railtie < Rails::Railtie
    initializer 'api_doc.controller_additions' do
      ActiveSupport.on_load :action_controller do
        include RailsApiDoc::Controller::StrongParams
        extend RailsApiDoc::Controller::Parameter
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_api_documentation-0.2.2 lib/rails_api_doc/railtie.rb
rails_api_documentation-0.2.1 lib/rails_api_doc/railtie.rb