Sha256: 53ebf75a0ba0fa5399016a8dbdb22554ed0f8330ca627289bc26f3410a1c0ddf

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

<%= content_tag :div, class: "exception", data: { status: @exception.status, response: @exception.response.to_s.humanize, rails: Rails.version }, onclick: ("location.href=\"#{root_url}\";" if @exception.status.to_s.first == "5" && Rails.application.routes.recognize_path("/")) do %>
  <%= content_tag :span, @exception.description.html_safe %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
exception_handler-0.8.0.2 app/views/exception_handler/exceptions/show.html.erb
exception_handler-0.8.0.1 app/views/exception_handler/exceptions/show.html.erb
exception_handler-0.8.0.0 app/views/exception_handler/exceptions/show.html.erb