ParentRouteController
GET domain.com/parent-route
GET domain.com/parent-route/:value
POST domain.com/parent-route
UPDATE domain.com/parent-route/:value
ChildRoute1Controller
GET domain.com/parent-route/:value/child-route-1
GET domain.com/parent-route/:value/child-route-1/:child1value
POST domain.com/parent-route/:value/child-route-1
UPDATE domain.com/parent-route/:value/child-route-1/:child1value
ChildRoute2Controller
GET domain.com/parent-route/:value/child-route-1/:child1value/child-route-2
GET domain.com/parent-route/:value/child-route-1/:child1value/child-route-2/:childRoute2Value
POST domain.com/parent-route/:value/child-route-1/:child1value/child-route-2
UPDATE domain.com/parent-route/:value/child-route-1/:child1value/child-route-2/:childRoute2Value
I want to achieve this routing.
I want to achieve this kind of routing:
ParentRouteController GET domain.com/parent-route GET domain.com/parent-route/:value POST domain.com/parent-route UPDATE domain.com/parent-route/:value
ChildRoute1Controller GET domain.com/parent-route/:value/child-route-1 GET domain.com/parent-route/:value/child-route-1/:child1value POST domain.com/parent-route/:value/child-route-1 UPDATE domain.com/parent-route/:value/child-route-1/:child1value
ChildRoute2Controller GET domain.com/parent-route/:value/child-route-1/:child1value/child-route-2 GET domain.com/parent-route/:value/child-route-1/:child1value/child-route-2/:childRoute2Value POST domain.com/parent-route/:value/child-route-1/:child1value/child-route-2 UPDATE domain.com/parent-route/:value/child-route-1/:child1value/child-route-2/:childRoute2Value
I'm using ZF 2.5.2, thanks!