]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/show.html.erb
Bump eslint from 7.27.0 to 7.28.0
[rails.git] / app / views / diary_entries / show.html.erb
index 154a7a195ebb4cc6093a6ae984d2a554102c6793..2b72453561582e1aeb9e2ad71669f1ed1f653ee4 100644 (file)
@@ -29,7 +29,7 @@
       <% end %>
     <% end %>
   <% else %>
-    <h3 id="newcomment"><%= t(".login_to_leave_a_comment_html", :login_link => link_to(t(".login"), :controller => "users", :action => "login", :referer => request.fullpath)) %></h3>
+    <h3 id="newcomment"><%= t(".login_to_leave_a_comment_html", :login_link => link_to(t(".login"), login_path(:referer => request.fullpath))) %></h3>
   <% end %>
 </div>