Commit d47207b7394fb920c2d03a18b06a18c945812948

Authored by Leandro Santos
Committed by Rodrigo Souto
1 parent 7807c913

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|
... ...