summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps <info@camilstaps.nl>2019-07-27 08:13:23 +0200
committerCamil Staps <info@camilstaps.nl>2019-08-07 20:49:18 +0200
commitd2b2486afb5a50ace08bc416be87a1ead12abe3c (patch)
tree9be9d8e71106df94d5ab49febffe8beebb5c0933
parent23fc32e6dfbbe10bd5bd521886e60ba364b73195 (diff)
downloadgitlab-ce-d2b2486afb5a50ace08bc416be87a1ead12abe3c.tar.gz
Fix display of own projects on the starred projects user profile tab
-rw-r--r--app/controllers/users_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 2e142a9ecf4..91e0efcf45f 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -153,7 +153,7 @@ class UsersController < ApplicationController
end
def load_starred_projects
- @starred_projects = starred_projects.joined(user)
+ @starred_projects = starred_projects
prepare_projects_for_rendering(@starred_projects)
end