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 @@ -66,7 +66,7 @@ def check_viewability @user = User.find(session[:user_id]) - if @user==nil or !Configuration.show_tasks_to?(@user) + if @user==nil or !GraderConfiguration.show_tasks_to?(@user) redirect_to :controller => 'main', :action => 'list' return false end