X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/76bc5eba0617e36ebb853d24212543d0e1d4904d..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 %>