Skip to content
Extraits de code Groupes Projets
Valider 5c7d3950 rédigé par Thomas R. Koll's avatar Thomas R. Koll
Parcourir les fichiers

Fixes #721 when creating a comment (ajax) the link to your own profile is...

Fixes #721 when creating a comment (ajax) the link to your own profile is fucked up and instead it linked to the user id
parent 154fa77b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -28,7 +28,7 @@ class CommentsController < ApplicationController ...@@ -28,7 +28,7 @@ class CommentsController < ApplicationController
:partial => 'comments/comment', :partial => 'comments/comment',
:locals => { :hash => { :locals => { :hash => {
:comment => @comment, :comment => @comment,
:person => current_user, :person => current_user.person,
}} }}
) )
} }
......
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