X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/835756e979916341965fd3328146baa65a13e82d..bc630bca87e81150b71fe02c5af838365db5130e:/app/views/dashboards/_contact.html.erb?ds=sidebyside
diff --git a/app/views/dashboards/_contact.html.erb b/app/views/dashboards/_contact.html.erb
index 4547a2d75..8e78524de 100644
--- a/app/views/dashboards/_contact.html.erb
+++ b/app/views/dashboards/_contact.html.erb
@@ -35,7 +35,7 @@
- <%= link_to t("users.show.send message"), new_message_path(contact) %>
-
- <% if current_user.friends_with?(contact) %>
+ <% if current_user.follows?(contact) %>
<%= link_to t("users.show.unfollow"), follow_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :delete %>
<% else %>
<%= link_to t("users.show.follow"), follow_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>