X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ea86f8f6826f7d4fe27d57c42c16d8d37c4f89ed..91a4fd6b5ab7a077211a7608248b3878f226d405:/app/views/diary_entries/index.html.erb?ds=inline diff --git a/app/views/diary_entries/index.html.erb b/app/views/diary_entries/index.html.erb index e4cc8fc8e..e464b99b4 100644 --- a/app/views/diary_entries/index.html.erb +++ b/app/views/diary_entries/index.html.erb @@ -36,7 +36,11 @@ <%= render @entries %> - <%= render "pagination", :name => "entries", :scope => "diary_entries.index" %> + <%= 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] -%>