HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/actionpack-7.0.4.2/ri/ActionController/UrlFor/cdesc-UrlFor.ri
U:RDoc::NormalModule[iI"UrlFor:ETI"ActionController::UrlFor;T0o:RDoc::Markup::Document:@parts[o;;[
o:RDoc::Markup::Paragraph;[I"cIncludes +url_for+ into the host class. The class has to provide a +RouteSet+ by implementing ;TI"Ithe <tt>_routes</tt> method. Otherwise, an exception will be raised.;To:RDoc::Markup::BlankLineo;	;[I"^In addition to AbstractController::UrlFor, this module accesses the HTTP layer to define ;TI"YURL options like the +host+. In order to do so, this module requires the host class ;TI"Hto implement +env+ which needs to be Rack-compatible and +request+ ;TI"Iwhich is either an instance of ActionDispatch::Request or an object ;TI"Cthat responds to the +host+, +optional_port+, +protocol+, and ;TI")+symbolized_path_parameter+ methods.;T@o:RDoc::Markup::Verbatim;[I"class RootUrl
;TI"(  include ActionController::UrlFor
;TI"4  include Rails.application.routes.url_helpers
;TI"
;TI"0  delegate :env, :request, to: :controller
;TI"
;TI""  def initialize(controller)
;TI""    @controller = controller
;TI"E    @url        = root_path # named route from the application.
;TI"  end
;TI"end;T:@format0:
@fileI"+lib/action_controller/metal/url_for.rb;T:0@omit_headings_from_table_of_contents_below0;
0;0[[[[I"AbstractController::UrlFor;To;;[;
@';0I"+lib/action_controller/metal/url_for.rb;T[[I"
class;T[[:public[[:protected[[:private[[I"
instance;T[[;[[I"url_options;T@/[;[[;[[[I"ActiveSupport::Concern;To;;[;
@';0@/[U:RDoc::Context::Section[i0o;;[;
0;0[@'I"ActionController;TcRDoc::NormalModule