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

Merge branch 'user_score' into 'master'

add score in user serializer

See merge request !372
parents 3c91c0fb ac100e6c
No related branches found
No related tags found
No related merge requests found
......@@ -9,5 +9,5 @@ class UserSerializer < ActiveModel::Serializer
object.followed? current_user
end
attributes :id, :email, :provider, :name, :description, :role_ids, :institution_ids, :avatar, :likes_count, :followed, :complained, :follows_count, :learning_objects_count, :collections_count, :created_at, :updated_at
attributes :id, :email, :provider, :name, :description, :score, :role_ids, :institution_ids, :avatar, :likes_count, :followed, :complained, :follows_count, :learning_objects_count, :collections_count, :created_at, :updated_at
end
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