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