Methods

Included Modules

Class Index [+]

Quicksearch

ActionController::UrlFor

Public Instance Methods

url_options() click to toggle source
    # File lib/action_controller/metal/url_for.rb, line 28
28:     def url_options
29:       @_url_options ||= super.reverse_merge(
30:         :host => request.host,
31:         :port => request.optional_port,
32:         :protocol => request.protocol,
33:         :_path_segments => request.symbolized_path_parameters
34:       ).freeze
35: 
36:       if _routes.equal?(env["action_dispatch.routes"])
37:         @_url_options.dup.tap do |options|
38:           options[:script_name] = request.script_name.dup
39:           options.freeze
40:         end
41:       else
42:         @_url_options
43:       end
44:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.