]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/show.html.erb
Remove unused small.scss symlinks
[rails.git] / app / views / users / show.html.erb
index 8987785da38a79023ddc74c209c31a707e397fa7..4dcc9ab0546188c5a3bbed7b0128dcca7d347bf1 100644 (file)
@@ -78,7 +78,7 @@
               <%= link_to t(".comments"), diary_comments_path(@user) %>
             </li>
             <li>
-              <% if current_user and current_user.is_friends_with?(@user) %>
+              <% if current_user and current_user.friends_with?(@user) %>
                 <%= link_to t(".remove as friend"), remove_friend_path(:display_name => @user.display_name), :method => :post %>
               <% elsif current_user %>
                 <%= link_to t(".add as friend"), make_friend_path(:display_name => @user.display_name), :method => :post %>