Thanks.

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.

I'm just starting with Catalyst, so there might be a better way to do it.


Julien


On Sat, Jan 2, 2010 at 4:09 AM, Aristotle Pagaltzis <[email protected]>wrote:

> Hi Julien,
>
> * Julien Sobrier <[email protected]> [2010-01-01 23:30]:
> > I'm try to do a forward to a path rather than a controller. For
> > example, if I get the url /foo/my/path, I want to redirect it
> > to /my/path which belongs to a different controller.
>
> this sounds like there may be a way to achieve the goal you are
> trying to achieve. What is your goal here?
>
> Regards,
> --
> Aristotle Pagaltzis // <http://plasmasturm.org/>
>
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to