X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a32033209545a69d60cbd551e6bd975cda64341..9968ea4308e6b6864fea9bf49b8f45fcc5bd118c:/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 %>