#345: fixed: visibility of projects

This commit is contained in:
Vokhmin Alexey V 2014-03-26 14:24:52 +04:00
parent 3cda2248a2
commit bd36a6a807
1 changed files with 1 additions and 0 deletions

View File

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