summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-31 09:11:35 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-31 09:11:35 +0200
commit193a5624b2daf4d638c382b88001d06535f57f2d (patch)
tree299193dfe694c776a1fc98c59f0c38565ab7a488 /lib/api/entities.rb
parent563c55eb7e4db988048bd1b2675ee73e0e601402 (diff)
downloadgitlab-ce-193a5624b2daf4d638c382b88001d06535f57f2d.tar.gz
add path and path_with_namespace to api project entity
Diffstat (limited to 'lib/api/entities.rb')
-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 80e2954a344..3637464676b 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -21,6 +21,7 @@ module Gitlab
expose :id, :name, :description, :default_branch
expose :owner, using: Entities::UserBasic
expose :private_flag, as: :private
+ expose :path, :path_with_namespace
expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
expose :namespace
end