Sha256: b2078bd8bb253a1e01c4d30ec7cc87dc09cfbe0fa224836a14dcfaa33b96b763

Contents?: true

Size: 796 Bytes

Versions: 1

Compression:

Stored size: 796 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 template: "rescues/_trace" %>

  <% 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>

<%= render template: "rescues/_web_console" %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
web-console-2.0.0 lib/action_dispatch/templates/rescues/routing_error.html.erb