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

fix followed method in collection

parent a41cc40e
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ class CollectionSerializer < ActiveModel::Serializer
end
def followed
object.followed? current_user
current_user.try(:following?, object)
end
def items_thumbnails
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment