diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-03-01 12:54:42 +0300 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-03-01 12:54:42 +0300 |
commit | 93bacb03e5ea33a67bcc8198862a23d2038bf6ef (patch) | |
tree | 40eeda3d6162a1a833f2e1b9c95fcd92d566bff6 /lib/api | |
parent | 7486bc0ae33adc141abbca2ea5dea833e56d5409 (diff) | |
parent | 51abeaa1bc93862a4d15506a590704f9fc56cfd6 (diff) |
Merge pull request #8890 from sue445/feature/project_api_avatar_url
Expose avatar_url in projects API
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/entities.rb | 1 |
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 |