Sha256: f67ec73f3bd9e7eb9f5a45580187c3d9d8573f6f8de34a3455adfe5ce2b58502

Contents?: true

Size: 557 Bytes

Versions: 10

Compression:

Stored size: 557 Bytes

Contents

%h3 Posts:
%ul
  - @posts.each do |post|
    %li
      = link_to post_url(post) do
        = "#{post.title} (#{post.comments_sum})"

%h3 Autologin Users:
%ul
  - User.all.each do |user|
    %li
      = link_to autologin_url(user) do
        - admin = user.comments_admin? ? '[Admin]' : nil
        = "#{user.username} (#{user.draft_comcoms_count}) #{admin}"

%h3 Recent Comments:
%ul
  - @recent_comments.each do |comment|
    %p
      %b= link_to comment.commentable_title, comment.commentable_url
      %br
      %i= comment.content

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
fuck_comments-2.3.4 spec/dummy_app/app/views/posts/index.html.haml
the_comments_ruby-2.3.4 spec/dummy_app/app/views/posts/index.html.haml
the_comments_ruby-2.3.3 spec/dummy_app/app/views/posts/index.html.haml
the_comments-2.3.1 spec/dummy_app/app/views/posts/index.html.haml
the_comments-2.2.2 spec/dummy_app/app/views/posts/index.html.haml
the_comments-2.2.1 spec/dummy_app/app/views/posts/index.html.haml
the_comments-2.2.0 spec/dummy_app/app/views/posts/index.html.haml
the_comments-2.1.0 spec/dummy_app/app/views/posts/index.html.haml
the_comments-2.0.1 spec/dummy_app/app/views/posts/index.html.haml
the_comments-2.0.0 spec/dummy_app/app/views/posts/index.html.haml