diff --git a/controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb b/controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb index 5020ee8..0bb8d73 100644 --- a/controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb +++ b/controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb @@ -21,7 +21,7 @@ class ProposalsDiscussionPluginTasksController < TasksController # filter for evaluator profile if @view_only - @tasks = Task.pending_all(profile, false, false).order_by('created_at', 'asc') + @tasks = ProposalsDiscussionPlugin::ProposalTask.pending_all(profile, false, false).order_by('created_at', 'asc') @tasks = @tasks.where(:responsible_id => current_person.id) else # filter for moderator -- libgit2 0.21.2