X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/49da87fb6d2a9fe8c033a41cd935ee34a8767293..d2d5d48f2993f2ffca415362a40b8a02127bd4a8:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 5090cbee0..aee000a97 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -194,7 +194,7 @@ <%= content_tag "div", "", :id => "map", :class => "content_map", :data => { :user => user_data } %> <% end %> - <% friends = @user.friends.collect(&:befriendee) %> + <% friends = @user.friends %> <% nearby = @user.nearby - friends %>
@@ -205,7 +205,7 @@ <% else %>
<%= render :partial => "contact", :collection => friends, :locals => { :type => "friend" } %> @@ -221,7 +221,7 @@ <% else %>
<%= render :partial => "contact", :collection => nearby, :locals => { :type => "nearby mapper" } %>