]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/index.html.erb
Merge remote-tracking branch 'upstream/pull/3120'
[rails.git] / app / views / diary_entries / index.html.erb
index 40c3e585e7d159f85470a5946bc2de3c2a61fad1..17ddba62e6ffa335f771a71d4f57d4aee2f045f8 100644 (file)
@@ -42,7 +42,7 @@
 
       <% if @page > 1 -%>
         <li class="page-item">
-          <%= link_to_if @page > 1, t(".newer_entries"), @params.merge(:page => @page - 1), :class => "page-link" %>
+          <%= link_to t(".newer_entries"), @params.merge(:page => @page - 1), :class => "page-link" %>
         </li>
       <% else -%>
         <li class="page-item disabled">