#345: fixed: visibility of projects
This commit is contained in:
parent
3cda2248a2
commit
bd36a6a807
|
@ -13,6 +13,7 @@ class Users::ProfileController < Users::BaseController
|
|||
end
|
||||
render partial: 'shared/profile_projects', layout: nil, locals: {projects: paginate_projects(page)}
|
||||
else
|
||||
@projects = @projects.opened
|
||||
@projects = paginate_projects(page)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue