diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-09-02 13:58:47 +0200 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-09-02 13:58:47 +0200 |
commit | baf2cd72b344823b91ef39d0344375e9dbb84208 (patch) | |
tree | 4e8e6de0b2c9fe53a54c4096050d3a794edbef84 /lib/api/projects.rb | |
parent | e6aa1c5266d10fa13a481492f4a41eba3b5eb0c3 (diff) | |
parent | faac71215789cb8224c14be0a4fcbe252a99fa4f (diff) | |
download | gitlab-ce-baf2cd72b344823b91ef39d0344375e9dbb84208.tar.gz |
Merge branch 'master' into repository-page-ui-issues
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r-- | lib/api/projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index f8979a1cc29..a1fd598414a 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -51,7 +51,7 @@ module API @projects = current_user.viewable_starred_projects @projects = filter_projects(@projects) @projects = paginate @projects - present @projects, with: Entities::Project + present @projects, with: Entities::Project, user: current_user end # Get all projects for admin user |