[FLOW3-general] No controller youl be resolved for routeParts

Bastian Waidelich bastian at typo3.org
Wed Nov 21 14:55:11 CET 2012


Andreas Beyl wrote:

Hi Andreas,

> name: 'League REST API GET/PUT/DELETE calls'
> uriPattern: 'leagues/{league}'
> defaults:
>    '@package': 'SNET.GoalKeeper'
>    '@controller': 'League'
>    '@action': 'index'
>    '@format': 'json'
> routeParts:
>    league:
>      objectType: '\SNET\GoalKeeper\Domain\Model\League'
>      uriPattern: '{urisegment}'

The leading slash in the "objectType" is wrong (see [1]).
Apart from that it looks correct at first sight.
Did you check the log, it contains more details about the failing routes.


[1] 
http://flow.typo3.org/documentation/guide/partiii/routing.html#object-route-parts


-- 
Bastian Waidelich
--
Core Developer Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the FLOW3-general mailing list