[Catalyst] Re: How to forward to a specific path

Aristotle Pagaltzis pagaltzis at gmx.de
Sun Jan 31 12:50:37 GMT 2010


* Julien Sobrier <julien at sobrier.net> [2010-01-26 06:30]:
> I have pages in /page/<number>/<title>
>
> I created a couple of categories: /ca1, /cat2, etc. Each of
> them map to a /page/<number>/<title>
>
> /page/1/some-title
> /cat1/page/1/some-title
> /cat2/page/1/some-title
>
> For cat1 and cat2, I wanted to set some variables. So
> I intercept the page in /cat1 and send it back to
> /page/1/some-title
>
> /cat1, /cat2 and /page reside in different controller.

OK, but that doesn’t explain why you need to forward to a URI
rather than an action. Why is that?

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list