Thanks that is the answer I was looking for. That should propably be pointed out somewhere in the documentation (I hope I just didn't miss it).

Basically the default identifier should not be used at all or only at the last child of the nesting, otherwise it will always occur on routes where one only wants to have a list view.

Thanks also to Alejandro for your efforts and fast answers.

Regards
Matthias Tylkowski

Am 30.03.2015 um 14:52 schrieb Stefano Torresi:
Hello Matthias,

AbstractRestfulController::dispatch() method determines what method to invoke on the basis of request method and the presence, or lack thereof, of the identifier parameter in the RouteMatch.

With nested routes, that means that you should set a different id parameter name for each controller, as the default AbstractRestfulController:$identifierName value is simply 'id', and that can result in name conflicts.

Stefano Torresi
Web Developer

Reply via email to