X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ea86f8f6826f7d4fe27d57c42c16d8d37c4f89ed..77d495ccdc4c6d07cb7795177c73ba541afc44e0:/app/views/diary_entries/comments.html.erb diff --git a/app/views/diary_entries/comments.html.erb b/app/views/diary_entries/comments.html.erb index 56c0e76c5..f82373af0 100644 --- a/app/views/diary_entries/comments.html.erb +++ b/app/views/diary_entries/comments.html.erb @@ -24,5 +24,9 @@ <% end -%> - <%= render "pagination", :name => "comments", :scope => "diary_entries.comments" %> + <%= 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 %> <% end -%>