Commit c3a5aa15 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #3003 from livedata/patch-1

fixed API access to the project
parents f9dd547a bbd1bfd1
...@@ -20,7 +20,7 @@ module Gitlab ...@@ -20,7 +20,7 @@ module Gitlab
class Project < Grape::Entity class Project < Grape::Entity
expose :id, :name, :description, :default_branch expose :id, :name, :description, :default_branch
expose :owner, using: Entities::UserBasic expose :owner, using: Entities::UserBasic
expose :private_flag, as: :private expose :public, as: :private
expose :path, :path_with_namespace expose :path, :path_with_namespace
expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
expose :namespace expose :namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment