[BUGFIX] Store rtehtmlarea_spellchecker in correct route configuration
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / Configuration / Backend / AjaxRoutes.php
1 <?php
2 use TYPO3\CMS\Backend\Controller;
3
4 /**
5 * Definitions for routes provided by EXT:backend
6 * Contains all AJAX-based routes for entry points
7 *
8 * Currently the "access" property is only used so no token creation + validation is made
9 * but will be extended further.
10 */
11 return [
12 'rte_insert_image' => [
13 'path' => '/rte/insert-image',
14 'target' => \TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController::class . '::buildImageMarkup',
15 ],
16 // Spellchecker
17 'rtehtmlarea_spellchecker' => [
18 'path' => '/rte/spellchecker',
19 'target' => \TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController::class . '::main'
20 ],
21 ];