(len: 33) e.preventDefault(); (len: 29) document.getElementById(id).style.display = \'block\'; (len: 60) var toggleSessionDump = function() { (len: 40) # @param string [String] (len: 30) } (len: 5) padding: 0.5em; (len: 21) @output_buffer.safe_append='

(len: 35)

For more details view: the Host Authorization guide

(len: 155) } (len: 5) margin: 0px; (len: 18) background: #C52F24; (len: 26) padding: 8px 0; (len: 21) font-weight: bold; (len: 24) # [collection.exists?(...)] (len: 35) padding: 10px; (len: 20) .details pre { (len: 18) (len: 6) self.class.registry[self] ||= deduplicated (len: 50) .details, .summary { (len: 26) border-color: #222; (len: 27) } (len: 5) require "active_model/type/float" (len: 33) function checkNoMatch(section, trElement) { (len: 47) (len: 0) @output_buffer.safe_append=' (len: 28) } (len: 5) (len: 10) background-color: #F6F6F6; (len: 32) .source .data .line_numbers { (len: 35) '.freeze; end (len: 22) body { (len: 10) class ExceptionWrapper (len: 24) // Check if there are any matched results in a section (len: 58) } (len: 5) margin: 5px; (len: 18) return toggle(\'session_dump\'); (len: 38) box-shadow: 0 2px #800; (len: 31) (len: 0) Action Controller: Exception caught (len: 52) border-bottom: 1px solid #D0D0D0; (len: 39) document.getElementById(id).classList.toggle(\'hidden\'); (len: 63) font-size: 13px; (len: 24) selectedFrame = target; (len: 33) (len: 0) def process_url_params(url, headers) (len: 40) box-shadow: 0 2px #F99; (len: 29) .details, .summary { (len: 26) font-weight: bold; (len: 24) border-color: #555; (len: 27) a { color: #C00; } (len: 24) a { color: #980905; } (len: 25) font-family: helvetica, verdana, arial, sans-serif; (len: 57) padding: 0 1.5em; (len: 23) a { color: #980905; } (len: 25) end (len: 13) (len: 0) #route_table tbody.exact_matches tr, (len: 38) a { color: #980905; } (len: 25) } (len: 5) list-style-type: none; (len: 28) @output_buffer.to_s (len: 19) body { (len: 12) } (len: 5) @output_buffer.safe_append=' (len: 36) (len: 103) box-shadow: 0 3px #F99; (len: 29) title: "Returns an absolute URL (with the http and domain)" );@output_buffer.safe_append=' (len: 112) padding: 0.5em 1.5em; (len: 27) border-color: #222; (len: 27) box-shadow: 0 3px #800; (len: 31) } (len: 5) } (len: 7) padding: 1em .5em; (len: 24) .summary { (len: 14) (len: 7) (len: 0) (len: 0)
(len: 7)


    .summary {
(len: 14)


'.freeze;
(len: 9)


      padding: 0 1.5em;
(len: 23)


      text-decoration: none;
(len: 28)


      font-family: helvetica, verdana, arial, sans-serif;
(len: 57)



(len: 0)


      }
(len: 7)


      border-bottom: 1px solid #D0D0D0;
(len: 39)


    // Check if there are any matched results in a section
(len: 58)


    }
(len: 5)


      background-color: #FAFAFA;
(len: 32)


          defaultExactMatch = buildTr(\'Paths Matching (\' + path + \'):\'),
(len: 76)


    }
(len: 5)


      color: #F0F0F0;
(len: 21)


    var toggle = function(id) {
(len: 31)


@output_buffer.safe_append='
(len: 28)


          def __usr_local_bundle_gems_actionpack_________lib_action_dispatch_middleware_templates_rescues_blocked_host_html_erb___1167210080652054173_25337700(local_assigns, output_buffer)
(len: 188)


@output_buffer.to_s
(len: 19)



(len: 0)


    
(len: 4)


    var hide = function(id) {
(len: 29)


  
(len: 10)


      }
(len: 7)



(len: 7)


      max-width: 978px;
(len: 23)


  
(len: 70)


      border: none;
(len: 19)


    }
(len: 5)



(len: 0)



(len: 6)


      box-shadow: 0 2px #F99;
(len: 29)


        box-shadow: 0 2px #800;
(len: 31)



(len: 0)


  
(len: 11)


    pre.box {
(len: 13)


      color: #333;
(len: 18)


      padding: 8px 0;
(len: 21)


    }
(len: 5)


    }
(len: 5)



(len: 0)



(len: 0)


      .line:hover {
(len: 19)


      }
(len: 7)


      font-weight: bold;
(len: 24)


    '.freeze;@output_buffer.append=( yield :style );@output_buffer.safe_append='
(len: 80)


    }
(len: 5)



(len: 0)


        background: #444;
(len: 25)


  Action Controller: Exception caught
(len: 52)


        box-shadow: 0 2px #800;
(len: 31)



(len: 8)


      color: white;
(len: 19)


block in __usr_local_bundle_gems_actionpack_________lib_action_dispatch_middleware_templates_rescues__trace_html_erb__4192084376514480193_86278200
(len: 146)



(len: 0)


      line-height: 1.1em;
(len: 25)


      display: inline-block;
(len: 28)



(len: 0)


        background: #666;
(len: 25)



(len: 0)


    code.traces {
(len: 17)


    }
(len: 5)


  

Blocked hosts: '.freeze;@output_buffer.append=( @hosts.join(", ") );@output_buffer.safe_append='

(len: 107) list-style-type: none; (len: 28) border: none; (len: 19) '.freeze; end (len: 16) background-color: #FCC; (len: 29) padding: 8px 0; (len: 21) (len: 7) selectedFrame = target; (len: 33) color: #ECECEC; (len: 23) input[type="submit"] { (len: 28) border-radius: 4px; (len: 25) (len: 0)

For more details view: the Host Authorization guide

(len: 155) line-height: 25px; (len: 24) a.trace-frames { (len: 20) document.getElementById(id).style.display = \'none\'; (len: 59) color-scheme: light dark; (len: 31)

Failure reasons:

(len: 31) } (len: 5) .exception-message { (len: 24) @virtual_path = "routes/_route";route = local_assigns[:route]; route = route;route_counter = local_assigns[:route_counter]; route_counter = route_counter;route_iteration = local_assigns[:route_iteration]; route_iteration = route_iteration;;@output_buffer.safe_append=' (len: 325) (len: 7) var selectedFrame, currentSource = document.getElementById(\'frame-source-'.freeze;@output_buffer.append=( error_index );@output_buffer.safe_append='-0\'); (len: 161) margin-top: 30px; (len: 23) (len: 0) } (len: 5) color: #ECECEC; (len: 23) (len: 0) (len: 0) '.freeze;@output_buffer.append=( yield );@output_buffer.safe_append=' (len: 71) font-size: 13px; (len: 22) } (len: 5) input[type="submit"]:hover { (len: 32) } (len: 7) border-radius: 12px; (len: 26) border-color: #222; (len: 27) (len: 0) '.freeze;@output_buffer.append=( link_to "Url", "#", 'data-route-helper' => '_url', (len: 91) } (len: 5)
(len: 7)


      -webkit-appearance: none;
(len: 31)


  
(len: 70)


          end
(len: 13)


    border-bottom: none;
(len: 24)


  
(len: 7)


    }
(len: 5)


      background-color: #FFF;
(len: 29)


    }
(len: 5)


    a.summary:hover { color: #FFF; }
(len: 36)


      font-size: 11px;
(len: 22)


      width: 100%;
(len: 18)


  
(len: 70)


    .line {
(len: 11)


      text-align: right;
(len: 24)


      margin: 5px;
(len: 18)



(len: 0)


    .response-heading, .request-heading {
(len: 41)


    '.freeze;@output_buffer.append=( yield :style );@output_buffer.safe_append='
(len: 80)


      list-style-type: none;
(len: 28)


    body, p, ol, ul, td {
(len: 25)


      box-shadow: 0 2px #F99;
(len: 29)


      box-sizing: border-box;
(len: 29)



(len: 0)


    }
(len: 5)


      border: none;
(len: 19)


    a.summary {
(len: 15)


      margin: 0;
(len: 16)


        '.freeze;@output_buffer.append=( link_to "Url", "#", 'data-route-helper' => '_url',
(len: 91)


          if (matches[\'exact\'].indexOf(elemPath) != -1)
(len: 57)


      box-shadow: 0 3px #F99;
(len: 29)


      -webkit-appearance: none;
(len: 31)


          end
(len: 13)



(len: 0)


      font-size:   13px;
(len: 24)


      return toggle(\'session_dump\');
(len: 38)


            @virtual_path = "routes/_route";route = local_assigns[:route]; route = route;route_counter = local_assigns[:route_counter]; route_counter = route_counter;route_iteration = local_assigns[:route_iteration]; route_iteration = route_iteration;;@output_buffer.safe_append='
(len: 325)


      color: #666;
(len: 18)


      input[type="submit"]:active {
(len: 35)


      line-height: 25px;
(len: 24)



(len: 0)


      -webkit-appearance: none;
(len: 31)



(len: 0)



(len: 0)



(len: 0)


        box-shadow: 0 3px #800;
(len: 31)


        exactSection.replaceChildren(defaultExactMatch);
(len: 56)


      overflow-wrap: break-word;
(len: 32)


  
(len: 70)



(len: 0)


    }
(len: 5)


    }
(len: 5)


      a { color: #C00; }
(len: 24)


      padding: 10px 18px;
(len: 25)


      transform: translateY(1px)
(len: 32)


  
(len: 148)


      return toggle(\'session_dump\');
(len: 38)


      .source .data .line_numbers {
(len: 35)


            @virtual_path = "rescues/layout";;@output_buffer.safe_append='
(len: 89)


        background: #333;
(len: 25)


    code.traces {
(len: 17)


@output_buffer.safe_append='    config.hosts << "'.freeze;@output_buffer.append=( host );@output_buffer.safe_append='"
(len: 124)



(len: 0)


      color: #555;
(len: 18)


    }
(len: 5)


    input[type="submit"]:active {
(len: 33)


      line-height: 25px;
(len: 24)


@output_buffer.safe_append='
(len: 28)


      background-color: #FFF;
(len: 29)


    .source {
(len: 13)


    }
(len: 5)


      border: none;
(len: 19)


      padding: 10px 18px;
(len: 25)


      }
(len: 7)


      background-color: #C00;
(len: 29)


      margin: 0px;
(len: 18)


    }
(len: 5)


            @virtual_path = "routes/_table";; content_for :style do 
(len: 68)



(len: 0)


    @media (prefers-color-scheme: dark) {
(len: 41)


      border-radius: 4px;
(len: 25)


        fuzzySection.innerHTML = "";
(len: 36)


@output_buffer.safe_append='
(len: 28)


      display: block;
(len: 21)


      color: #C00;
(len: 18)


    .source * {
(len: 15)


  
(len: 103)


  
(len: 26)


'.freeze;   unless @exception.failures.empty? 
(len: 46)


        background-color: #222;
(len: 31)


      font-weight: bold;
(len: 24)


          var el = document.getElementById(\'frame-source-'.freeze;@output_buffer.append=( error_index );@output_buffer.safe_append='-\' + frame_id);
(len: 149)


    var toggleEnvDump = function() {
(len: 36)


        timeout = setTimeout(callback, 300);
(len: 44)



(len: 0)


      border: 1px solid #D0D0D0;
(len: 32)


    input[type="submit"]:hover {
(len: 32)



(len: 0)


      padding: 10px 0px;
(len: 24)


      margin: 0;
(len: 16)


    var toggleSessionDump = function() {
(len: 40)


  @media (prefers-color-scheme: dark) {
(len: 39)


    pre.box {
(len: 13)


      background-color: #ECECEC;
(len: 32)


  
(len: 7)


@output_buffer.safe_append='    
0, (len: 47) changeSourceExtract(frame_id); (len: 40) (len: 0) .details { (len: 14) initializer :finisher_hook do (len: 35) next unless File.directory?(path) (len: 43) ["--#{name.tr('_', '-')}", *parts] (len: 42) (len: 0) '.freeze;@output_buffer.append=( search_field(:path, nil, id: 'search', placeholder: "Path Match") );@output_buffer.safe_append=' (len: 137) } (len: 5) input[type="submit"]:active { (len: 35) .summary { (len: 14) getJSON(\'/rails/info/routes?path=\' + path, function(matches){ (len: 69) (len: 0) xhr.onload = function() { (len: 31) padding: 10px 18px; (len: 25) } (len: 5) }) (len: 6) .exception-message { (len: 24) background-color: #F6F6F6; (len: 32) } (len: 5) code.traces { (len: 17) document.getElementById(id).style.display = \'block\'; (len: 60) line-height: 25px; (len: 24) document.getElementById(id).style.display = \'none\'; (len: 59) checkNoMatch(fuzzySection, noFuzzyMatch); (len: 49) .exception-message { (len: 24) (len: 7) '.freeze;@output_buffer.append=( yield );@output_buffer.safe_append=' (len: 71) background-color: #900; (len: 31) (len: 0) font-weight: bold; (len: 24) } (len: 5) } (len: 5) (len: 0) def __usr_local_bundle_gems_actionpack_________lib_action_dispatch_middleware_templates_rescues_blocked_host_html_erb___1167210080652054173_48387560(local_assigns, output_buffer) (len: 188) (len: 0) display: inline-block; (len: 28) if pathname =~ URI_REGEXP (len: 35) def text(*names, **options) (len: 41) '.freeze;@output_buffer.append=( yield :style );@output_buffer.safe_append=' (len: 80) @output_buffer.to_s (len: 19) border-bottom: 1px solid #D0D0D0; (len: 39) return false if name == :marshal_dump || name == :_dump (len: 63) h2 { (len: 8) line-height: 25px; (len: 24) '.freeze; (len: 9) .summary { (len: 14) # wrapped to, +ParamsWrapper+ will actually try to determine if there's (len: 73) padding: 10px; (len: 20) (len: 0) background-color: #FFF; (len: 29) background-color: #C00; (len: 29) .line.active { (len: 18) color: #F0F0F0; (len: 21) (len: 26) (len: 0) exactSection.replaceChildren(defaultExactMatch); (len: 56) text-align: right; (len: 24) document.getElementById(id).classList.toggle(\'hidden\'); (len: 63) } (len: 5) (len: 0) (len: 0) '.freeze;@output_buffer.append=( yield );@output_buffer.safe_append=' (len: 71) .source { (len: 13) line-height: 25px; (len: 24) a.trace-frames { color: #999; } (len: 37) background: #666; (len: 25) line-height: 25px; (len: 24) padding: 0 1.5em; (len: 23) input[type="submit"] { (len: 28) } (len: 5) (len: 0) border-bottom: 1px solid #D0D0D0; (len: 39) } (len: 5) elems.forEach(function(elem) { (len: 36) (len: 0) __usr_local_bundle_gems_actionpack_________lib_action_dispatch_middleware_templates_rescues_blocked_host_html_erb___1167210080652054173_52187280 (len: 144)

To allow requests to these hosts, make sure they are valid hostnames (containing only numbers, letters, dashes and dots), then add the following to your environment configuration:

(len: 190) '.freeze; (len: 9) a:hover, a.trace-frames.selected { color: #C00; } (len: 53) } (len: 5) background-color: #ECECEC; (len: 32) (x 4247) #container { (x 4246) padding: 0 1.5em; (x 4246) code.traces { (x 4246) h2 { (x 4246) padding: 10px; (x 4246) (x 4246) (x 4246) .line:hover { (x 4246) color: white; (x 4246) color: #555; (x 4246) padding: 0.5em; (x 4246) .button_to { (x 4245) .info { (x 4245) overflow: auto; (x 4245) font-size: 1.5em; (x 4244) padding: 8px 0; (x 4244) margin-top: 30px; (x 4244) h1 { (x 4244) pre { (x 4244) (x 4244) .correction { (x 4244) .details { (x 4243) width: 958px; (x 4243) .line.active { (x 4243) background: #C00; (x 4242) header { (x 4241) return false; (x 4241) (x 4241) display: none; (x 4241) .hidden { (x 4241) .line.active { (x 4241) .line { (x 4241) (x 4240) white-space: pre; (x 4240) .line:hover { (x 4239) # (x 4129) # (x 3882)
(x 3693)


  #
(x 2997)


  end
(x 2688)


# frozen_string_literal: true
(x 2295)


    border-bottom: none;
(x 2265)


      elems.forEach(function(elem) {
(x 2246)


      '.freeze;
(x 2243)


      
(x 2241)


end
(x 1747)


  
(x 1700)


(x 1693) (x 1679) } (x 1218) @virtual_path = "rescues/_trace";trace_to_show = local_assigns[:trace_to_show]; trace_to_show = trace_to_show;traces = local_assigns[:traces]; traces = traces;; names = traces.keys (x 1142) '.freeze; end (x 1135) (x 1133)
(x 1132) (x 1132) #route_table thead tr.bottom th { (x 1131) background: #f2f2f2; (x 1130) (x 1130) @output_buffer.safe_append='

Parameters:

'.freeze;@output_buffer.append=( debug_params(@request.filtered_parameters) );@output_buffer.safe_append='
(x 1130) '.freeze; if params_valid? (x 1130) @virtual_path = "rescues/_request_and_response";;@output_buffer.safe_append='

Request

(x 1130) (x 1130) (x 1129) #route_table tbody.exact_matches, (x 1129) #route_table tbody tr:nth-child(odd) { (x 1129) border-bottom: 1px solid #ddd; (x 1129) #route_table tbody tr { (x 1129) #route_table tbody.fuzzy_matches tr { (x 1129) -webkit-appearance: textfield; (x 1129) #route_table thead tr { (x 1129) #route_table thead tr.bottom { (x 1129) border-bottom: 2px solid #ddd; (x 1129) '.freeze; traces.each do |name, trace| (x 1129) '.freeze; unless @exception.failures.empty? (x 1129) @output_buffer.safe_append=' (x 1129) '.freeze;@output_buffer.append=( render "rescues/trace", traces: @traces, trace_to_show: @trace_to_show );@output_buffer.safe_append=' (x 1129) '.freeze;@output_buffer.append=( frame[:trace] );@output_buffer.safe_append=' (x 1129) border-bottom: solid 2px SlateGrey; (x 1128) background-color: LightGoldenRodYellow; (x 1128) #route_table tbody.fuzzy_matches { (x 1128) #route_table tbody.exact_matches tr, (x 1128) #route_table thead tr.bottom th input#search { (x 1128) (x 1128) error_index = local_assigns[:error_index] || 0 (x 1128)
(x 1128) '.freeze; names.each do |name| (x 1128) show = "show('#{name.gsub(/\s/, '-')}-#{error_index}');" (x 1128) hide = (names - [name]).collect {|hide_name| "hide('#{hide_name.gsub(/\s/, '-')}-#{error_index}');"} (x 1128) '.freeze; trace.each do |frame| (x 1128)

'.freeze;@output_buffer.append=( h @exception.message );@output_buffer.safe_append='

(x 1128) @output_buffer.safe_append='

(x 1128) border-collapse: collapse; (x 1127) @output_buffer.safe_append=' #route_table { (x 1127)

Headers:

'.freeze;@output_buffer.append=( debug_headers(defined?(@response) ? @response.headers : {}) );@output_buffer.safe_append='
(x 1127) (x 1127)

Rails.root: '.freeze;@output_buffer.append=( defined?(Rails) && Rails.respond_to?(:root) ? Rails.root : "unset" );@output_buffer.safe_append='

(x 1127)

Failure reasons:

(x 1127) '.freeze; @exception.failures.each do |route, reason| (x 1127) '.freeze;@output_buffer.append=( render template: "rescues/_request_and_response" );@output_buffer.safe_append=' (x 1127) var selectedFrame, currentSource = document.getElementById(\'frame-source-'.freeze;@output_buffer.append=( error_index );@output_buffer.safe_append='-0\'); (x 1127) (x 1126) background: DarkSlateGrey; (x 1126) #route_table tbody.fuzzy_matches tr { (x 1126) #route_table tbody.exact_matches tr, (x 1126) background: #282828; (x 1126) @virtual_path = "routes/_table";; content_for :style do (x 1126) if (this.status == 200) (x 1126) xhr.onload = function() { (x 1126) xhr.open(\'GET\', url); (x 1126) function getJSON(url, success) { (x 1126) @virtual_path = "rescues/routing_error";;@output_buffer.safe_append='
(x 1126)

Routing Error

(x 1126) @output_buffer.safe_append=' (x 1126) // Add click listeners for all stack frames (x 1126) traceFrames[i].addEventListener(\'click\', function(e) { (x 1126) var target = e.target; (x 1126) NodeList.prototype.forEach = Array.prototype.forEach; (x 1125) // support forEach iterator on NodeList (x 1125) '.freeze;@output_buffer.append=( link_to "Url", "#", 'data-route-helper' => '_url', (x 1125) #route_table tbody tr:nth-child(odd) { (x 1125) @media (prefers-color-scheme: dark) { (x 1125) success(JSON.parse(this.response)); (x 1125)

Response

(x 1125) checkNoMatch(fuzzySection, noFuzzyMatch); (x 1125) checkNoMatch(exactSection, noExactMatch); (x 1125) var xhr = new XMLHttpRequest(); (x 1125) // get JSON from URL and invoke callback with result (x 1125) section.appendChild(trElement); (x 1125)
(x 1125) '.freeze;@output_buffer.append=( route[:verb] );@output_buffer.safe_append=' (x 1125) '.freeze;@output_buffer.append=(simple_format route[:reqs] );@output_buffer.safe_append=' (x 1125) '.freeze; if @routes_inspector (x 1125) @output_buffer.safe_append='

(x 1125) Routes match in priority from top to bottom (x 1125) var traceFrames = document.getElementsByClassName(\'trace-frames-'.freeze;@output_buffer.append=( error_index );@output_buffer.safe_append='\'); (x 1125) for (var i = 0; i < traceFrames.length; i++) { (x 1125) e.preventDefault(); (x 1125) var frame_id = target.dataset.frameId; (x 1125) if (selectedFrame) { (x 1125) selectedFrame.className = selectedFrame.className.replace("selected", ""); (x 1125) target.className += " selected"; (x 1125) selectedFrame = target; (x 1125)

(x 1125) '.freeze;@output_buffer.append=( search_field(:path, nil, id: 'search', placeholder: "Path Match") );@output_buffer.safe_append=' (x 1124) title: "Returns a relative path (without the http or domain)" );@output_buffer.safe_append=' / (x 1124) '.freeze;@output_buffer.append=( link_to "Path", "#", 'data-route-helper' => '_path', (x 1124)

(x 1124) (x 1124) (x 1124) function setupRouteToggleHelperLinks() { (x 1124) // Display \'No Matches\' message when no matches are found (x 1124) if (matches[\'fuzzy\'].indexOf(elemPath) != -1) (x 1124) var elemPath = elem.getAttribute(\'data-route-path\'); (x 1124) // Display exact matches and fuzzy matches (x 1124) function checkNoMatch(section, trElement) { (x 1124) // Enables path search functionality (x 1124) (x 1123) title: "Returns an absolute URL (with the http and domain)" );@output_buffer.safe_append=' (x 1123) function delayedKeyup(input, callback) { (x 1123) // Enables functionality to toggle between `_path` and `_url` helper suffixes (x 1123) exactSection.appendChild(elem.parentNode.cloneNode(true)); (x 1123) if (matches[\'exact\'].indexOf(elemPath) != -1) (x 1123) pathElements.forEach(function(elem) { (x 1123) delayedKeyup(searchElem, function() { (x 1123) if (section.children.length <= 1) { (x 1123) // Check if there are any matched results in a section (x 1123) changeSourceExtract(frame_id); (x 1123) var el = document.getElementById(\'frame-source-'.freeze;@output_buffer.append=( error_index );@output_buffer.safe_append='-\' + frame_id); (x 1123) '.freeze;@output_buffer.append=( yield );@output_buffer.safe_append=' (x 1122) timeout = setTimeout(callback, 300); (x 1122) if (timeout) clearTimeout(timeout); (x 1122) input.onkeyup = function(){ (x 1122) function setValOn(elems, val) { (x 1122) // Sets content for each element (x 1122) fuzzySection.appendChild(elem.parentNode.cloneNode(true)); (x 1122) var path = sanitizePath(searchElem.value), (x 1122) // On key press perform a search for matching paths (x 1122) th.innerText = string; (x 1122) function setupMatchPaths() { (x 1122) if (currentSource && el) { (x 1122) (x 1121) helperElems = document.querySelectorAll(\'[data-route-name] span.helper\'); (x 1121) return searchElem.onblur(); (x 1121) noExactMatch = buildTr(\'No Exact Matches Found\'), (x 1121) defaultFuzzyMatch = buildTr(\'Paths Containing (\' + path +\'):\'), (x 1121) defaultExactMatch = buildTr(\'Paths Matching (\' + path + \'):\'), (x 1121) tr.appendChild(th); (x 1121) fuzzySection = document.querySelector(\'#fuzzy_matches\'); (x 1121) exactSection = document.querySelector(\'#exact_matches\'), (x 1121) var pathElements = document.querySelectorAll(\'#route_table [data-route-path]\'), (x 1121) return path.replace(/[#?].*/, \'\'); (x 1121) function sanitizePath(path) { (x 1121) // remove params or fragments (x 1121) function changeSourceExtract(frame_id) { (x 1121) (x 1120) setValOn(helperElems, helperTxt); (x 1120) var helperTxt = this.getAttribute("data-route-helper"), (x 1120) onClick(toggleLinks, function(){ (x 1120) var toggleLinks = document.querySelectorAll(\'#route_table [data-route-helper]\'); (x 1120) elem.onclick = func; (x 1120) function onClick(elems, func) { (x 1120) // Sets onClick event for each element (x 1120) elem.innerHTML = val; (x 1120) fuzzySection.replaceChildren(defaultFuzzyMatch); (x 1120) exactSection.replaceChildren(defaultExactMatch); (x 1120) // Clear out results section (x 1120) getJSON(\'/rails/info/routes?path=\' + path, function(matches){ (x 1120) noFuzzyMatch = buildTr(\'No Fuzzy Matches Found\'); (x 1120) th.setAttribute(\'colspan\', 4); (x 1120) var th = document.createElement(\'th\'); (x 1120) searchElem.onblur = function(e) { (x 1120) searchElem = document.querySelector(\'#search\'), (x 1120) }); (x 1119) var tr = document.createElement(\'tr\'); (x 1119) function buildTr(string) { (x 1119) // Remove matches when no search value is present (x 1119) setupRouteToggleHelperLinks(); (x 1118) fuzzySection.innerHTML = ""; (x 1118) exactSection.innerHTML = ""; (x 1118) if (searchElem.value === "") { (x 1118) document.getElementById(\'search\').focus(); (x 1117) // Focus the search input after page has loaded (x 1117) # (x 1025) @output_buffer.safe_append=' (x 1006) end (x 916) else (x 834) } (x 748) @output_buffer.safe_append=' '.freeze;@output_buffer.append=( name );@output_buffer.safe_append=' '.freeze;@output_buffer.append=( '|' unless names.last == name );@output_buffer.safe_append=' (x 717) @virtual_path = "routes/_route";route = local_assigns[:route]; route = route;route_counter = local_assigns[:route_counter]; route_counter = route_counter;route_iteration = local_assigns[:route_iteration]; route_iteration = route_iteration;;@output_buffer.safe_append=' (x 648) else (x 639) else (x 598) @output_buffer.safe_append='
'.freeze;@output_buffer.append=( route.inspect.delete('\\') );@output_buffer.safe_append=' failed because '.freeze;@output_buffer.append=( reason.downcase );@output_buffer.safe_append=' (x 585) background: none; (x 568) #route_table td { (x 567)
(x 567) '.freeze; end (x 567) font-size: inherit; (x 566) width: 80%; (x 566) #path_search { (x 566) padding: 4px 30px; (x 566) line-height: 15px; (x 564) padding: 10px 0; (x 564) margin: 0; (x 564) (function() { (x 563) '.freeze; end (x 563)

(x 563) (x 563) Routes (x 563) '.freeze; end (x 563)

    (x 563)
(x 562) (x 562) (x 562) (x 562) xhr.send(); (x 562) }; (x 562) (x 562) setupMatchPaths(); (x 562) }) (x 562) }) (x 562) }) (x 562) if (!path) (x 562) })(); (x 562) }); (x 562) (x 562)
(x 562) (x 562)
(x 1125) '.freeze; if route[:name].present? (x 1125) @output_buffer.safe_append=' '.freeze;@output_buffer.append=( route[:name] );@output_buffer.safe_append='_path (x 1125) @output_buffer.safe_append='
Controller#ActionHTTP Verb (x 1124) '.freeze;@output_buffer.append=( route[:path] );@output_buffer.safe_append=' (x 1124) '.freeze;@output_buffer.append=( @routes_inspector.format(ActionDispatch::Routing::HtmlTableFormatter.new(self)) );@output_buffer.safe_append=' (x 1124) // Change the extracted source code (x 1124) currentSource.className += " hidden"; (x 1124) el.className = el.className.replace(" hidden", ""); (x 1124) currentSource = el; (x 1124)
PathHelper