Sha256: be67eb121f34a502efaf583e191c6f7920915579ab4ab764f567d96714bbf07a

Contents?: true

Size: 349 Bytes

Versions: 7

Compression:

Stored size: 349 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chili-4.0.1 spec/example_app/lib/chili/social_feature/app/overrides/posts/_post/like_actions.html.erb.deface
chili-4.0.0 spec/example_app/lib/chili/social_feature/app/overrides/posts/_post/like_actions.html.erb.deface
chili-3.1.1 spec/example_app/lib/chili/social_feature/app/overrides/posts/_post/like_actions.html.erb.deface
chili-3.1.0 spec/example_app/lib/chili/social_feature/app/overrides/posts/_post/like_actions.html.erb.deface
chili-3.0.0 spec/example_app/lib/chili/social_feature/app/overrides/posts/_post/like_actions.html.erb.deface
chili-2.0.1 spec/example_app/lib/chili/social_feature/app/overrides/posts/_post/like_actions.html.erb.deface
chili-2.0.0 spec/example_app/lib/chili/social_feature/app/overrides/posts/_post/like_actions.html.erb.deface