Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
adding pagination to the top of the comments page as well
  • Loading branch information
ryanb committed Jul 26, 2011
1 parent fa4fdd8 commit 7d2b150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/comments/index.html.erb
Expand Up @@ -8,6 +8,7 @@
</p>
<% end %>
<div id="comments">
<%= 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 >") %>
</div>
Expand Down

0 comments on commit 7d2b150

Please sign in to comment.