Commit babeaf016f4771393ceec4ccceb0b79c8ada0725

Authored by Leandro Santos
1 parent 8e1425f1

adding user id

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
lib/api/entities.rb
... ... @@ -59,6 +59,7 @@ module API
59 59  
60 60 class User < Grape::Entity
61 61 root 'users', 'user'
  62 + expose :id
62 63 expose :login
63 64 expose :person, :using => Profile
64 65 expose :permissions do |user, options|
... ...