summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-11 09:54:15 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-11 09:54:15 -0700
commit8cdfa86b578a27feefe2c30f28eb3f46afbb8201 (patch)
treeda63c0cef74a83b3598d210d5263f2ad3ffc5efe /lib/api/entities.rb
parent7740005b76b179a2358d2d23714f0afad7075824 (diff)
parent31b06ebd011025ef44cbc384ad74736e75b62184 (diff)
downloadgitlab-ce-8cdfa86b578a27feefe2c30f28eb3f46afbb8201.tar.gz
Merge pull request #3993 from bke-drewb/3599
Issue 3599: Add snippets_enabled flag to projects for API
Diffstat (limited to 'lib/api/entities.rb')
-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 dea5771d6b6..edc6302f021 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -36,7 +36,7 @@ module API
expose :owner, using: Entities::UserBasic
expose :name, :name_with_namespace
expose :path, :path_with_namespace
- expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at, :last_activity_at
+ expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :snippets_enabled, :created_at, :last_activity_at
expose :namespace
expose :forked_from_project, using: Entities::ForkedFromProject, :if => lambda{ | project, options | project.forked? }
end