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:
Diffstat (limited to 'app/controllers/explore/projects_controller.rb')
-rw-r--r--app/controllers/explore/projects_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/explore/projects_controller.rb b/app/controllers/explore/projects_controller.rb
index 34745815f3d..eebcbe88ebf 100644
--- a/app/controllers/explore/projects_controller.rb
+++ b/app/controllers/explore/projects_controller.rb
@@ -88,8 +88,8 @@ class Explore::ProjectsController < Explore::ApplicationController
private
def load_project_counts
- @total_user_projects_count = ProjectsFinder.new(params: { non_public: true }, current_user: current_user).execute
- @total_starred_projects_count = ProjectsFinder.new(params: { starred: true }, current_user: current_user).execute
+ @all_user_projects = ProjectsFinder.new(params: { non_public: true }, current_user: current_user).execute
+ @all_starred_projects = ProjectsFinder.new(params: { starred: true }, current_user: current_user).execute
end
def load_projects