X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/82bb9d02f3c814d2b4b5b8e0599dccf78017231d..4d47cff5e1d359fa27c5c46d2706faae39a3eacc:/app/views/diary_entries/show.html.erb diff --git a/app/views/diary_entries/show.html.erb b/app/views/diary_entries/show.html.erb index 154a7a195..2b7245356 100644 --- a/app/views/diary_entries/show.html.erb +++ b/app/views/diary_entries/show.html.erb @@ -29,7 +29,7 @@ <% end %> <% end %> <% else %> -

<%= t(".login_to_leave_a_comment_html", :login_link => link_to(t(".login"), :controller => "users", :action => "login", :referer => request.fullpath)) %>

+

<%= t(".login_to_leave_a_comment_html", :login_link => link_to(t(".login"), login_path(:referer => request.fullpath))) %>

<% end %>