修改bug
This commit is contained in:
parent
9f59c1b421
commit
f849afe116
|
@ -113,7 +113,7 @@ class UsersController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def projects
|
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
|
@total_count = scope.size
|
||||||
@projects = paginate(scope)
|
@projects = paginate(scope)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue