[BUGFIX] Store rtehtmlarea_spellchecker in correct route configuration 04/47204/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 11 Mar 2016 17:19:03 +0000 (18:19 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 11 Mar 2016 18:39:30 +0000 (19:39 +0100)
The RTE route "rtehtmlarea_spellchecker" is an AJAX route, therefore it must
be stored in AjaxRoutes.php.

Change-Id: Ief55ef5e17a72187491d63915e29934e45d5a985
Resolves: #75024
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47204
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/rtehtmlarea/Configuration/Backend/AjaxRoutes.php
typo3/sysext/rtehtmlarea/Configuration/Backend/Routes.php

index a384215..bfd1489 100644 (file)
@@ -12,4 +12,9 @@ return [
         'path' => '/rte/insert-image',
         'target' => \TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController::class . '::buildImageMarkup',
     ],
+    // Spellchecker
+    'rtehtmlarea_spellchecker' => [
+        'path' => '/rte/spellchecker',
+        'target' => \TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController::class . '::main'
+    ],
 ];
index be44589..df1b87b 100644 (file)
@@ -24,9 +24,4 @@ return [
         'path' => '/rte/wizard/parsehtml',
         'target' => \TYPO3\CMS\Rtehtmlarea\Controller\ParseHtmlController::class . '::mainAction'
     ],
-    // Spellchecker
-    'rtehtmlarea_spellchecker' => [
-        'path' => '/rte/spellchecker',
-        'target' => \TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController::class . '::main'
-    ],
 ];