[BUGFIX] Store rtehtmlarea_spellchecker in correct route configuration 06/47206/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:46 +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/47206
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 8c705f2..941660b 100644 (file)
@@ -13,4 +13,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'
-    ],
 ];