diff options
author | Valeriy Sizov <vsv2711@gmail.com> | 2014-11-04 17:33:20 +0200 |
---|---|---|
committer | Valeriy Sizov <vsv2711@gmail.com> | 2014-11-04 17:33:20 +0200 |
commit | 24276ed8366cf64e685034086b6e85d15a632d26 (patch) | |
tree | 37a94998ac885058c9db7f2863058f1af3615aab /lib/api/entities.rb | |
parent | 9cf50550d7a7616cd5dba382bdd7c65473a9c95d (diff) | |
parent | 2edf212a8be3bb14b844b542df587b6029897fe6 (diff) | |
download | gitlab-ce-24276ed8366cf64e685034086b6e85d15a632d26.tar.gz |
Merge pull request #8224 from liammonahan/master
Expose projects_limit through users API if UserFull.
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 4e7b1c91c4e..40696489ba2 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -16,7 +16,8 @@ module API class UserFull < User expose :email - expose :theme_id, :color_scheme_id, :extern_uid, :provider + expose :theme_id, :color_scheme_id, :extern_uid, :provider, \ + :projects_limit expose :can_create_group?, as: :can_create_group expose :can_create_project?, as: :can_create_project end |