Skip to content
Snippets Groups Projects
Commit f681d105 authored by Anja's avatar Anja Committed by Georg Ringer
Browse files

[TASK] Reveal usage as controller of TaskStatus::class

The class is called by two ajax routes and is therefore to be named,
placed and handled as the controller that it is.

Change-Id: I5106f5310041d3f0a993c2bf7ebe03ac51454cad
Resolves: #86142
Releases: master
Reviewed-on: https://review.typo3.org/58183


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Tested-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 6a68000a
Branches
Tags
No related merge requests found
<?php
namespace TYPO3\CMS\Taskcenter;
namespace TYPO3\CMS\Taskcenter\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Http\JsonResponse;
/**
* Status of tasks
*/
class TaskStatus
class TaskStatusController
{
/**
* Saves the section toggle state of tasks in the backend user's uc
......
......@@ -4,15 +4,12 @@
* Definitions for routes provided by EXT:taskcenter
*/
return [
// Collapse
'taskcenter_collapse' => [
'path' => '/taskcenter/collapse',
'target' => \TYPO3\CMS\Taskcenter\TaskStatus::class . '::saveCollapseState'
'target' => \TYPO3\CMS\Taskcenter\Controller\TaskStatusController::class . '::saveCollapseState',
],
// Sort
'taskcenter_sort' => [
'path' => '/taskcenter/sort',
'target' => \TYPO3\CMS\Taskcenter\TaskStatus::class . '::saveSortingState'
]
'target' => \TYPO3\CMS\Taskcenter\Controller\TaskStatusController::class . '::saveSortingState',
],
];
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment