Merge pull request #3829 from cpradio/fix-liked-avatars
FIX: Who Liked a Post now shows UserCard when avatar is clicked
This commit is contained in:
commit
992386b22e
|
@ -1,5 +1,6 @@
|
|||
class PostActionUserSerializer < BasicUserSerializer
|
||||
attributes :post_url
|
||||
attributes :post_url,
|
||||
:username_lower
|
||||
|
||||
def id
|
||||
object.user.id
|
||||
|
@ -9,6 +10,10 @@ class PostActionUserSerializer < BasicUserSerializer
|
|||
object.user.username
|
||||
end
|
||||
|
||||
def username_lower
|
||||
object.user.username_lower
|
||||
end
|
||||
|
||||
def avatar_template
|
||||
object.user.avatar_template
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue