diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb --- a/app/controllers/tasks_controller.rb +++ b/app/controllers/tasks_controller.rb @@ -7,7 +7,7 @@ end def list - @problems = Problem.find_available_problems + @problems = @user.available_problems end # this has contest-wide access control