From 7d2b1506358cd34d84fa7e363800d8592cb41df4 Mon Sep 17 00:00:00 2001 From: Ryan Bates Date: Tue, 26 Jul 2011 13:58:17 -0700 Subject: [PATCH] adding pagination to the top of the comments page as well --- app/views/comments/index.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/comments/index.html.erb b/app/views/comments/index.html.erb index c51fedf..388a8bb 100644 --- a/app/views/comments/index.html.erb +++ b/app/views/comments/index.html.erb @@ -8,6 +8,7 @@

<% end %>
+ <%= will_paginate :previous_label => h("< Previous Page"), :next_label => h("Next Page >") %> <%= render @comments %> <%= will_paginate :previous_label => h("< Previous Page"), :next_label => h("Next Page >") %>