Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 372 Bytes
<% 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 %>
You can’t perform that action at this time.