]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/index.html.erb
Fix erblint warning
[rails.git] / app / views / diary_entries / index.html.erb
index f6e2c37c5f5ee9f9d408809a0f75022b16555bee..e464b99b4829d40758fcd7912d1b805c8393de64 100644 (file)
 
   <%= render @entries %>
 
-  <%= render "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 %>
+  <%= 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] -%>