]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/index.html.erb
Do not merge zoom/lat/lon options with oauth_return_url
[rails.git] / app / views / diary_entries / index.html.erb
index e4cc8fc8e6ffd7768e51c260ef33a19ba3883a6f..e464b99b4829d40758fcd7912d1b805c8393de64 100644 (file)
 
   <%= 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] -%>