Sha256: 15b164c19f3f47bcc8807f1e7dcc5d9111feb8a4a4091d05d9af7388bebb2be7

Contents?: true

Size: 297 Bytes

Versions: 4

Compression:

Stored size: 297 Bytes

Contents

module RailsApiDoc
  class Railtie < Rails::Railtie
    initializer 'api_doc.controller_additions' do
      ActiveSupport.on_load :action_controller do

        include RailsApiDoc::Controller::ResourceParams::DSL

        extend RailsApiDoc::Controller::Request::DSL

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_api_documentation-0.3.2 lib/rails_api_doc/railtie.rb
rails_api_documentation-0.3.1 lib/rails_api_doc/railtie.rb
rails_api_documentation-0.3.0 lib/rails_api_doc/railtie.rb
rails_api_documentation-0.2.3 lib/rails_api_doc/railtie.rb