xperseguers / t3ext-routing

TYPO3 Extension routing
19 stars 6 forks source link

Route with {@controller} #3

Closed MaxGTR closed 9 years ago

MaxGTR commented 9 years ago

Function "GeneralUtility::underscoredToUpperCamelCase" is not used on "$controllerParameters['@controller']" in "RoutingController.php".

Line 189: $pluginParameters['controller'] = $controllerParameters['@controller']; => $pluginParameters['controller'] = GeneralUtility::underscoredToUpperCamelCase($controllerParameters['@controller']);

Line 192: $_POST['controller'] = $controllerParameters['@controller']; => $_POST['controller'] = GeneralUtility::underscoredToUpperCamelCase($controllerParameters['@controller']);

xperseguers commented 9 years ago

How to reproduce?

MaxGTR commented 9 years ago

With uriPattern: 'my-demo/{@controller}/{@action}' currently you have to write your controller name in the URL with first letter in capital.