'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.
This commit is contained in:
Jakob Borg 2013-01-02 21:31:20 +01:00
parent 0bda2d5d2b
commit 0f07922f19
1 changed files with 1 additions and 0 deletions

View File

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