]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/_page.html.erb
Pass translation scope instead of keys to shared pagination
[rails.git] / app / views / issues / _page.html.erb
index b46b1798c96e2d3723b09065b947ace78208d20f..8cada7564e7872fb14b40b9a35a1b37d12d467e4 100644 (file)
@@ -36,8 +36,7 @@
       </tbody>
     </table>
     <%= render "shared/pagination",
       </tbody>
     </table>
     <%= render "shared/pagination",
-               :newer_key => "issues.page.newer_issues",
-               :older_key => "issues.page.older_issues",
+               :translation_scope => "shared.pagination.issues",
                :newer_id => @newer_issues_id,
                :older_id => @older_issues_id %>
   <% end %>
                :newer_id => @newer_issues_id,
                :older_id => @older_issues_id %>
   <% end %>