Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-16 17:05:45 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-16 17:05:45 +0400
commit4c93d77f24e6d9ff58c8a0b7e45838ae4366d4de (patch)
tree1259bc055a2539b95804579f6e804cda97d7cca1 /lib
parent08426d336dbcdb15147ae253abe2d7215c5cec8c (diff)
parent0f07922f19dee37849e32b6a829087b4f98c2809 (diff)
Merge pull request #2460 from calmh/expose-namespace
'namespace' should be exposed via the API
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index e5b2685abf5..80e2954a344 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -22,6 +22,7 @@ module Gitlab
expose :owner, using: Entities::UserBasic
expose :private_flag, as: :private
expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
+ expose :namespace
end
class ProjectMember < UserBasic