summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2013-01-02 21:31:20 +0100
committerJakob Borg <jakob@nym.se>2013-01-02 21:31:20 +0100
commit0f07922f19dee37849e32b6a829087b4f98c2809 (patch)
treec42def786f04e5430964c2d56ba23d991d6e227d /lib/api
parent0bda2d5d2bfd04161ed763c75e1bded90b73d8a5 (diff)
downloadgitlab-ce-0f07922f19dee37849e32b6a829087b4f98c2809.tar.gz
'namespace' should be exposed via the API
Since it's now an integral part of the project name, it should be visible via the API.
Diffstat (limited to 'lib/api')
-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