From dd9b9ac1c2f032e02757e7e4fa4aa588234933d4 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 13 Oct 2023 13:02:27 -0400 Subject: Admin comment page pagination --- app/views/admin/comments/index.html.haml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views') 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 @@ - title "Comments" += will_paginate @comments %table#entries %tr %th Text @@ -21,3 +22,4 @@ %ul.admin-actions %li= link_to "View", blog_url(comment.blog, anchor: "comment-#{comment.id}") %li= link_to "Delete", admin_comment_url(comment), method: :delete, data: { confirm: "Are you sure?" } += will_paginate @comments -- cgit 1.4.1