getsentry/raven-ruby

View on GitHub
sentry-rails/examples/rails-6.0/app/views/posts/show.html.erb

Summary

Maintainability
Test Coverage
<p id="notice"><%= notice %></p>

<p>
  <strong>Title:</strong>
  <%= @post.title %>
</p>

<p>
  <strong>Content:</strong>
  <%= @post.content %>
</p>

<p>
  <strong>Cover:</strong>
  <%= image_tag @post.cover.variant(resize_to_limit: [100, 100]) %>
</p>

<%= link_to 'Edit', edit_post_path(@post) %> |
<%= link_to 'Back', posts_path %>