- <p class='text-muted mb-0'>
- <%= link_to contact.display_name, user_path(contact) %>
- <% if @user.home_location? and contact.home_location? %>
- <% distance = @user.distance(contact) %>
+ <p class='text-body-secondary mb-0'>
+ <%= link_to contact.display_name, contact %>
+ <% if current_user.home_location? and contact.home_location? %>
+ <% distance = current_user.distance(contact) %>