Skip to content

routing

David Spreekmeester edited this page Dec 2, 2014 · 1 revision

Routing precedence

In Zend, the route order is actually reverse. With conflicting routes, the route that is defined last takes precedence over the route defined first. In the example below, the static_name route will be used over the dynamic_name route.

routes.dynamic_name.route = /path/:slug
routes.static_name.route = /path/static
Clone this wiki locally