[fw-general] Re: [ZF2] Weird routing problem

2012-09-27 Thread nuxwin
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:

[fw-general] Re: [ZF2] Weird routing problem

2012-09-27 Thread nuxwin
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. --

[fw-general] Re: [ZF2] Weird routing problem

2012-09-26 Thread Marco Pivetta
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(

[fw-general] Re: [ZF2] Weird routing problem

2012-09-26 Thread Distrust
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