Fixes #721 when creating a comment (ajax) the link to your own profile is fucked up and instead it linked to the user id

This commit is contained in:
Thomas R. Koll 2010-12-30 00:48:43 +01:00
parent 154fa77bd6
commit 5c7d39505a

View file

@ -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,
}} }}
) )
} }