Skip to content
Extraits de code Groupes Projets
Valider f309299e rédigé par Raphael's avatar Raphael
Parcourir les fichiers

Take out remove friend button on stranger, there should be an add friend

parent e1d6c9ce
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -5,7 +5,7 @@
%h1
= @person.real_name
- unless @person.id == current_user.person.id
- if @person != current_user.person && current_user.friends.include?(@person)
.right
= link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete, :class => "button"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter