Sha256: 31e0c8c834aced4e1b70a5ffeb8192bcd0324dea1562b37053fe826b6117847c

Contents?: true

Size: 372 Bytes

Versions: 118

Compression:

Stored size: 372 Bytes

Contents

<% actions = ActiveSupport::ActionableError.actions(exception) %>

<% if actions.any? %>
  <div class="actions">
    <% actions.each do |action, _| %>
      <%= button_to action, ActionDispatch::ActionableExceptions.endpoint, params: {
        error: exception.class.name,
        action: action,
        location: request.path
      } %>
    <% end %>
  </div>
<% end %>

Version data entries

118 entries across 112 versions & 10 rubygems

Version Path
actionpack-6.1.3.1 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.3.6 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.3 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.2.1 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.3.5 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.2 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.1 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.0 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.0.rc2 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.0.rc1 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.3.4 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.3.3 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.3.2 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.3.1 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.3 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.3.rc1 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.2.2 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.2.1/lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.2.1/lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.0.2.1 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb