File: //usr/local/rvm/gems/ruby-2.5.9/doc/actionpack-6.1.4.1/ri/ActionController/API/without_modules-c.ri
U:RDoc::AnyMethod[iI"without_modules:ETI"+ActionController::API::without_modules;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"OShortcut helper that returns all the ActionController::API modules except ;TI""the ones passed as arguments:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"9class MyAPIBaseController < ActionController::Metal
;TI"E ActionController::API.without_modules(:UrlFor).each do |left|
;TI" include left
;TI" end
;TI" end
;T:@format0o;
; [I"QThis gives better control over what you want to exclude and makes it easier ;TI"Pto create an API controller class, instead of listing the modules required ;TI"manually.;T:
@fileI"!lib/action_controller/api.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*modules);T@FI"API;TcRDoc::NormalClass00