Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlivedata <k.antczak@livedata.pl>2013-02-15 18:37:06 +0400
committerlivedata <k.antczak@livedata.pl>2013-02-15 18:37:06 +0400
commitbbd1bfd1558c32a4210a554e5e6fcc35d58e4052 (patch)
tree700cf79a610989e51a65c236dd89581f43ab5f14 /lib
parentf9dd547aa7289c59a389ce1393c4b3eb4e0239f4 (diff)
fixed API access to the project
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb2
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