X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be11f2075e8bbde0a1e0640fd254c64ee0c94f25..2074e9dce23e1e6380c6c995a79a76671323c905:/app/views/dashboards/_contact.html.erb
diff --git a/app/views/dashboards/_contact.html.erb b/app/views/dashboards/_contact.html.erb
index 0b3b42fb5..8e78524de 100644
--- a/app/views/dashboards/_contact.html.erb
+++ b/app/views/dashboards/_contact.html.erb
@@ -35,10 +35,10 @@
- <%= 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.follow"), follow_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>
+ <%= link_to t("users.show.follow"), follow_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>
<% end %>