Sha256: a541396ed1b114cebcda31c5e425601b2c96c88112ed096c0815ef99895dad99

Contents?: true

Size: 338 Bytes

Versions: 3

Compression:

Stored size: 338 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
chili-0.3.4 spec/dummy/example_app/vendor/chili/social_extension/app/overrides/posts/_post/like_actions.html.erb.deface
chili-0.3.3 spec/dummy/example/vendor/chili/social_extension/app/overrides/posts/_post/like_actions.html.erb.deface
chili-0.3.2 spec/dummy/example/vendor/chili/social_extension/app/overrides/posts/_post/like_actions.html.erb.deface