修改bug

This commit is contained in:
sylor_huang@126.com 2020-04-21 10:48:44 +08:00
parent 9f59c1b421
commit f849afe116
1 changed files with 1 additions and 1 deletions

View File

@ -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)