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

corrected link on the account page

parent bb7e2a99
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -339,9 +339,9 @@ class User
def unfriend_everyone
friends.each{ |friend|
if friend.owner?
friend.owner.unfriended_by (self.person )
friend.owner.unfriended_by self.person
else
self.unfriend( friend )
self.unfriend friend
end
}
end
......
......@@ -28,6 +28,7 @@
= link_to "download my photos", users_export_photos_path, :class => "button"
%h3 Close Account
= link_to "Close Account", current_user,
:confirm => "Are you sure?", :method => :delete,
:class => "button`"
: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