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:
parent
154fa77bd6
commit
5c7d39505a
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
}}
|
}}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue