On Wed, Aug 14, 2013 at 11:22 AM, ravidhu <[email protected]> wrote:
> thanks for your answer, so i test your config with the following url :
>
>  mywebsite -> work
>
>  mywebsite/ -> work
>
>  mywebsite/one-type -> work
>
>  mywebsite/one-type/one-location -> work but i get the detail view file

You can fix that within the controller, by specifying the template in
the view model you return; if you're not returning a view model, do.

>  mywebsite/one-type/one-location/on-id -> still don't work : "The requested
> URL could not be matched by routing."

This makes sense -- the constraint regex you set for :id does not
include the "-" character; you specified "[0-9]+". If you want
alphabetical characters and hyphens, you'll need to add those to the
constraint: "[a-z0-9-]+"

>  mywebsite/connexion ->work
>
>  mywebsite/confirm ->work



-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to