]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/comments.html.erb
erblint: Add or remove curly braces around hash parameters as required
[rails.git] / app / views / diary_entries / comments.html.erb
index 31ee778a45170e7d73c94c363904ea09ae9a1575..63df5f9c6026852712856a9d1b2eb6330e765e46 100644 (file)
@@ -19,6 +19,6 @@
 </table>
 
 <div class='secondary-actions clearfix'>
-  <span><%= link_to t('.older_comments'), { :page => @comment_pages.current.next } if @comment_pages.current.next %>
-  <%= link_to t('.newer_comments'), { :page => @comment_pages.current.previous } if @comment_pages.current.previous %></span>
+  <span><%= link_to t('.older_comments'), :page => @comment_pages.current.next if @comment_pages.current.next %>
+  <%= link_to t('.newer_comments'), :page => @comment_pages.current.previous if @comment_pages.current.previous %></span>
 </div>