-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sergio Rinaudo wrote:
> Dear list,
> I am using some regexRoutes and I need to use the url view helper.
> Unfortunatelly, I get this error:
> 
> "Cannot assemble. Reversed route is not specified."

When defining your route, you need to provide a "reverse" parameter.
This is a printf format string that can be used to recreate a url. This
is documented at
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.regex
but it's a little hard to find (it's a fair way down). The paragraph
starts "Since regex patterns are not easily reversed".

- --

Brenton Alker
PHP Developer - Brisbane, Australia

http://blog.tekerson.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpvC6cACgkQ7bkAtAithuvKYQCeKnCEkz7FQiNOogGxJ0yFZjWo
QuQAnA5Tt2NBShDpld8V5gkzPe9He3Kf
=6MKN
-----END PGP SIGNATURE-----

Reply via email to