X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e342314d8b513dd1b7693a40885fd61d439a3557..f92183e52043a4bfa4e96392a2b7d767db1690d3:/app/views/diary_entries/index.html.erb?ds=sidebyside diff --git a/app/views/diary_entries/index.html.erb b/app/views/diary_entries/index.html.erb index 9c0112cd0..e464b99b4 100644 --- a/app/views/diary_entries/index.html.erb +++ b/app/views/diary_entries/index.html.erb @@ -36,29 +36,11 @@ <%= render @entries %> - + <%= render "shared/pagination", + :newer_key => "diary_entries.index.newer_entries", + :older_key => "diary_entries.index.older_entries", + :newer_id => @newer_entries_id, + :older_id => @older_entries_id %> <% end %> <% unless params[:friends] or params[:nearby] -%>