Skip to content
Snippets Groups Projects
Commit 4edadf81 authored by Clarissa's avatar Clarissa
Browse files

Update user_serializer.rb; remove puts

parent 6cbbe40f
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2015 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana
#
......@@ -38,7 +37,7 @@ class UserSerializer < ActiveModel::Serializer
def role_ids
roles = []
object.roles.each { |role| puts roles << role.id }
object.roles.each { |role| roles << role.id }
roles
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