Sha256: 60643353a88040da5f6ceac89782da0871c51e92c7cd900314edc95fe1f0f608

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

<!-- insert_bottom 'tr' -->
<% post.becomes(ChiliLikes::Post).tap do |post| %>
  <td><%= link_to 'Like!', chili_likes.likes_path(like: {post_id: post}), method: :post %></td>
  <td><%= pluralize post.likes.size, 'like' %></td>
  <td><%= post.well_liked? ? 'This post is well liked!' : 'This post is boring...' %></td>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chili-0.0.6 spec/dummy/chili_likes/app/overrides/posts/_post/chili_likes.html.erb.deface
chili-0.0.5 spec/dummy/chili_likes/app/overrides/posts/_post/chili_likes.html.erb.deface