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