修改bug
This commit is contained in:
parent
9f59c1b421
commit
f849afe116
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue