initforthe/spina-blog

View on GitHub
app/views/spina/blog/posts/_post.html.erb

Summary

Maintainability
Test Coverage
<li class="<%= dom_class(post) %>" id="<%= dom_id(post) %>">
  <h3><%= link_to post.title, spina.blog_post_path(post) %></h3>
  <%= post.excerpt&.html_safe %>
</li>