Sha256: 36d0161acf080c26e2102434e1a3803c7e6a4af4ae5078db90dd915f3452661d

Contents?: true

Size: 813 Bytes

Versions: 38

Compression:

Stored size: 813 Bytes

Contents

<header role="banner">
  <h1>Routing Error</h1>
</header>
<main role="main" id="container">
  <h2><%= h @exception.message %></h2>
  <% unless @exception.failures.empty? %>
    <p>
      <h2>Failure reasons:</h2>
      <ol>
      <% @exception.failures.each do |route, reason| %>
        <li><code><%= route.inspect.delete('\\') %></code> failed because <%= reason.downcase %></li>
      <% end %>
      </ol>
    </p>
  <% end %>

  <%= render "rescues/trace", traces: @traces, trace_to_show: @trace_to_show %>

  <% if @routes_inspector %>
    <h2>
      Routes
    </h2>

    <p>
      Routes match in priority from top to bottom
    </p>

    <%= @routes_inspector.format(ActionDispatch::Routing::HtmlTableFormatter.new(self)) %>
  <% end %>

  <%= render template: "rescues/_request_and_response" %>
</main>

Version data entries

38 entries across 36 versions & 4 rubygems

Version Path
actionpack-7.0.8.7 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.8.6 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.8.5 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actionpack-7.0.8.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.5.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.8.4 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.8.1 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-7.0.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.8 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.7.2 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.7.1 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.7 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.6 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.5.1 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-7.0.2.3/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-7.0.5 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb