blob: b6c6d2f50d1d0d7ab417e2529d955f6206604058 (
plain) (
tree)
|
|
<% 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 %>
|