Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps <info@camilstaps.nl>2019-01-28 21:02:03 +0300
committerCamil Staps <info@camilstaps.nl>2019-08-07 21:49:15 +0300
commitbf3bd577e0fa753b5b7976a73d4c480b45debeac (patch)
treef1404b903b403083340e42b6b58d099fb2f42785 /app/controllers/users_controller.rb
parenta052f68116363109b5d49c9738e711a12257ac7d (diff)
Rewrite StarredProjectsFinder to use ProjectsFinder
Diffstat (limited to 'app/controllers/users_controller.rb')
-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 36687e3606e..bc1587e6be0 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -134,7 +134,7 @@ class UsersController < ApplicationController
end
def starred_projects
- StarredProjectsFinder.new(user).execute(current_user)
+ StarredProjectsFinder.new(user, current_user: current_user).execute
end
def contributions_calendar