Sha256: 23d69e5c88c9e0cc319126682c63a1cca579c4010f614e668ddaa0e693652f4e

Contents?: true

Size: 330 Bytes

Versions: 8

Compression:

Stored size: 330 Bytes

Contents

<!-- insert_bottom 'tr' -->
<% post.becomes(ChiliSocial::Post).tap do |post| %>
  <td><%= link_to 'Like!', chili_social.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

8 entries across 8 versions & 1 rubygems

Version Path
chili-0.3.0 spec/dummy/example/vendor/chili_social/app/overrides/posts/_post/like_actions.html.erb.deface
chili-0.2.2 spec/dummy/example/vendor/chili_social/app/overrides/posts/_post/like_actions.html.erb.deface
chili-0.2.1 spec/dummy/example/vendor/chili_social/app/overrides/posts/_post/like_actions.html.erb.deface
chili-0.2.0 spec/dummy/example/vendor/chili_social/app/overrides/posts/_post/like_actions.html.erb.deface
chili-0.1.0 spec/dummy/chili_social/app/overrides/posts/_post/like_actions.html.erb.deface
chili-0.0.9 spec/dummy/chili_social/app/overrides/posts/_post/like_actions.html.erb.deface
chili-0.0.8 spec/dummy/chili_social/app/overrides/posts/_post/like_actions.html.erb.deface
chili-0.0.7 spec/dummy/chili_social/app/overrides/posts/_post/like_actions.html.erb.deface