diff options
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/comments/index.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/admin/comments/index.html.haml b/app/views/admin/comments/index.html.haml index 7b25c05..8cfa0bb 100644 --- a/app/views/admin/comments/index.html.haml +++ b/app/views/admin/comments/index.html.haml | |||
@@ -1,4 +1,5 @@ | |||
1 | - title "Comments" | 1 | - title "Comments" |
2 | = will_paginate @comments | ||
2 | %table#entries | 3 | %table#entries |
3 | %tr | 4 | %tr |
4 | %th Text | 5 | %th Text |
@@ -21,3 +22,4 @@ | |||
21 | %ul.admin-actions | 22 | %ul.admin-actions |
22 | %li= link_to "View", blog_url(comment.blog, anchor: "comment-#{comment.id}") | 23 | %li= link_to "View", blog_url(comment.blog, anchor: "comment-#{comment.id}") |
23 | %li= link_to "Delete", admin_comment_url(comment), method: :delete, data: { confirm: "Are you sure?" } | 24 | %li= link_to "Delete", admin_comment_url(comment), method: :delete, data: { confirm: "Are you sure?" } |
25 | = will_paginate @comments | ||