X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7b2af50f4a12da6f18c4b5d89ee1264e252c6da9..d66b4b3d2f379ed61ef2b33bb2b0507267827f98:/app/views/user/_contact.html.erb
diff --git a/app/views/user/_contact.html.erb b/app/views/user/_contact.html.erb
index 2697d0302..613283371 100644
--- a/app/views/user/_contact.html.erb
+++ b/app/views/user/_contact.html.erb
@@ -35,7 +35,7 @@
- - <%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :display_name => contact.display_name %>
+ - <%= link_to t('user.view.send message'), new_message_path(contact) %>
-
<% if current_user.is_friends_with?(contact) %>
<%= link_to t('user.view.remove as friend'), remove_friend_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>