Sha256: c9b71baea6d419511e62fa2e3afd8d810636e37e2a567ebda62a5c2eb8a165ae

Contents?: true

Size: 785 Bytes

Versions: 84

Compression:

Stored size: 785 Bytes

Contents

<header>
  <h1>Routing Error</h1>
</header>
<div 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" %>
</div>

Version data entries

84 entries across 82 versions & 8 rubygems

Version Path
actionpack-6.1.7.10 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7.9 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7.8 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7.7 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7.6 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7.5 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7.4 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7.3 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7.2 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7.1 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.0.6.1 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.7 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.0.6 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.6.1 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.0.5.1 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.0.5 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.6 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
actionpack-6.1.5.1 lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb