Well, read the documentation or even read the code of the
Zend\Mvc\Router\Http\Segment route and you will figure out why.. The option
is *constraints*, not 'constrains'.
Cheers;
--
View this message in context:
As already stated in other post, the option is *constraints*, not constrains.
Cheers
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Re-ZF2-Weird-routing-problem-tp4657136p4657190.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
Are you sure it works? Constraint `'par'= 'id',` doesn't look right to
me.
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 26 September 2012 08:15, Distrust [via Zend Framework Community]
ml-node+s634137n4657132...@n4.nabble.com wrote:
'addform' = array(
If I change it to:
'route'= '/application/test/add[/:ppp[/:vvv]]',
'constrains' = array(
'ppp'= '[a-zA-Z]*',
'vvv' = '[0-9]+'
),
This still does not change anything - the regular expression ppp