fixed API access to the project

This commit is contained in:
livedata 2013-02-15 15:37:06 +01:00
parent f9dd547aa7
commit bbd1bfd155

View file

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