summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsue445 <sue445@sue445.net>2015-03-01 02:07:53 +0900
committersue445 <sue445@sue445.net>2015-03-01 10:13:01 +0900
commit51abeaa1bc93862a4d15506a590704f9fc56cfd6 (patch)
tree745adc2f9567b8cf22c9b2cbe6f399039abb019e /lib
parent7fef8456e8bc92adb0de3f2bc7192e3bedfce47d (diff)
downloadgitlab-ce-51abeaa1bc93862a4d15506a590704f9fc56cfd6.tar.gz
Expose avatar_url in projects API
* Impl Project#avatar_url * Refactor ApplicationHelper: Use Project#avatar_url * Update changelog
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 7572104fc16..af76f3c439e 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -56,6 +56,7 @@ module API
expose :issues_enabled, :merge_requests_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? }
+ expose :avatar_url
end
class ProjectMember < UserBasic