X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/425818913b6234e8c17964d0c1f48e5bc177df57..b8da7922ec4194e61a1eebb43be787f8b55d1647:/app/views/dashboards/_contact.html.erb?ds=inline
diff --git a/app/views/dashboards/_contact.html.erb b/app/views/dashboards/_contact.html.erb
index 77363dbdb..7785c0552 100644
--- a/app/views/dashboards/_contact.html.erb
+++ b/app/views/dashboards/_contact.html.erb
@@ -37,7 +37,7 @@
- <%= link_to t("users.show.send message"), new_message_path(contact) %>
-
- <% if current_user.is_friends_with?(contact) %>
+ <% if current_user.friends_with?(contact) %>
<%= link_to t("users.show.remove as friend"), remove_friend_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>
<% else %>
<%= link_to t("users.show.add as friend"), make_friend_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>