diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-02 15:09:06 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-02 15:09:06 +0300 |
commit | 767bd7808153d3ec5ead766dcbd655523afd5324 (patch) | |
tree | e2f0178b48904a726ef26e2ca3bccd5e810d6d23 /lib/api/repositories.rb | |
parent | 5a88873e5cac26edf65dcfae8d449beb4ed865bb (diff) | |
download | gitlab-ce-767bd7808153d3ec5ead766dcbd655523afd5324.tar.gz |
Use Contributor class instead of hash
Diffstat (limited to 'lib/api/repositories.rb')
-rw-r--r-- | lib/api/repositories.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/repositories.rb b/lib/api/repositories.rb index 241036729b5..d091fa4f035 100644 --- a/lib/api/repositories.rb +++ b/lib/api/repositories.rb @@ -160,7 +160,7 @@ module API get ':id/repository/contributors' do authorize! :download_code, user_project - user_project.repository.contributors + present user_project.repository.contributors, with: Entities::Contributor end end end |