diff options
author | livedata <k.antczak@livedata.pl> | 2013-02-15 18:37:06 +0400 |
---|---|---|
committer | livedata <k.antczak@livedata.pl> | 2013-02-15 18:37:06 +0400 |
commit | bbd1bfd1558c32a4210a554e5e6fcc35d58e4052 (patch) | |
tree | 700cf79a610989e51a65c236dd89581f43ab5f14 /lib | |
parent | f9dd547aa7289c59a389ce1393c4b3eb4e0239f4 (diff) |
fixed API access to the project
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index c1873d87b55..2cd8aa6c265 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -20,7 +20,7 @@ module Gitlab class Project < Grape::Entity expose :id, :name, :description, :default_branch expose :owner, using: Entities::UserBasic - expose :private_flag, as: :private + expose :public, as: :private expose :path, :path_with_namespace expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at expose :namespace |