
julien at sobrier
Jan 25, 2010, 9:30 PM
Post #7 of 8
(1254 views)
Permalink
|
|
Re: Re: How to forward to a specific path
[In reply to]
|
|
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 <pagaltzis [at] gmx>wrote: > Hi Julien, > > * Julien Sobrier <julien [at] sobrier> [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: Catalyst [at] lists > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/ >
|