X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/942ca1ff2332252ee8db34a436c0b0c1983145b1..35d5e9d19d9a5f5179b0d063418a3e3a23694772:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index e50610037..ff349858c 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -81,7 +81,7 @@ <% end %> <% end %> - (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => @friend.id %>) + (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :display_name => @friend.display_name %>) <%end%> @@ -110,7 +110,7 @@ <%= t 'user.view.km away', :count => distance.round %> <% end %> - (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => nearby.id %>) + (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :display_name => nearby.display_name %>) <% end %>