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-7.0.8.6 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.7.10 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.7.9 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-7.0.8.5 lib/action_dispatch/middleware/templates/rescues/_actions.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/_actions.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/_actions.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/_actions.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/_actions.html.erb
actionpack-7.0.8.4 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.7.8 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-7.0.8.1 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.7.7 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionpack-7.0.2.3/lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-7.0.8 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-7.0.7.2 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.7.6 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-7.0.7.1 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb
actionpack-6.1.7.5 lib/action_dispatch/middleware/templates/rescues/_actions.html.erb