Removed deprecated calls of rendering partials from tasks_controller.