diff --git a/app/controllers/tasks_controller.rb b/app/controllers/tasks_controller.rb new file mode 100644 --- /dev/null +++ b/app/controllers/tasks_controller.rb @@ -0,0 +1,15 @@ +class TasksController < ApplicationController + + before_filter :authenticate + + + def index + redirect_to :action => 'list' + end + + def list + @problems = Problem.find_available_problems + @user = User.find(session[:user_id]) + end + +end