From f849afe116e497522e7c37a8e9d9fdb80fbf0c21 Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Tue, 21 Apr 2020 10:48:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 1b219d3d7..c2f107120 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -113,7 +113,7 @@ class UsersController < ApplicationController end def projects - scope = Projects::ListMyQuery.call(params.merge(category: params[:category], current_user: current_user)) + scope = Projects::ListMyQuery.call(params.merge(category: params[:category]), current_user) @total_count = scope.size @projects = paginate(scope)