Sha256: 728c7cc76cd90cc1f27e45e0d87a9ea09834be42cd2c7a549c1cdead389c6163

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 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 == "500" && Rails.application.routes.recognize_path("/")), title: ("Return Home" if @exception.status == "500" && Rails.application.routes.recognize_path("/")) do %>
  <%= content_tag :span, @exception.description.html_safe %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
exception_handler-0.7.6.0 app/views/exception_handler/exceptions/show.html.erb
exception_handler-0.7.5.15 app/views/exception_handler/exceptions/show.html.erb
exception_handler-0.7.5 app/views/exception_handler/exceptions/show.html.erb
exception_handler-0.7.0 app/views/exception_handler/exception/show.html.erb