X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4370fe45add697f481ab88764aba8379eb3316c2..8f7f02b025f59db466fdb22ea3686cb6c5adc400:/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 %>