- <%= render "pagination", :newer_key => "diary_entries.comments.newer_comments",
- :older_key => "diary_entries.comments.older_comments",
- :newer_id => @newer_comments_id,
- :older_id => @older_comments_id %>
+ <%= render "shared/pagination",
+ :newer_key => "diary_entries.comments.newer_comments",
+ :older_key => "diary_entries.comments.older_comments",
+ :newer_id => @newer_comments_id,
+ :older_id => @older_comments_id %>