diff --git a/app/views/api/v1/users/base.json.rabl b/app/views/api/v1/users/base.json.rabl index aeb5ec2..2c11719 100644 --- a/app/views/api/v1/users/base.json.rabl +++ b/app/views/api/v1/users/base.json.rabl @@ -3,6 +3,12 @@ object :user attributes :id, :username, :granblue_id, - :picture, :language, - :private \ No newline at end of file + :private + +node :picture do |u| + { + :picture => u.picture, + :element => u.element + } +end \ No newline at end of file