Skip to content
Snippets Groups Projects
Commit a41cc40e authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

fix followed method

parent 283e611b
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ class UserSerializer < ActiveModel::Serializer
end
def followed
object.followed? current_user
current_user.try( :following?, object)
end
def email
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment