[Catalyst] Dispatching question: same path but different args attributes
Marc Logghe
Marc.Logghe at DEVGEN.com
Tue Oct 17 10:55:22 CEST 2006
> -----Original Message-----
> From: catalyst-bounces at lists.rawmode.org
> [mailto:catalyst-bounces at lists.rawmode.org] On Behalf Of Matt S Trout
> Sent: Tuesday, October 17, 2006 10:20 AM
> To: The elegant MVC web framework
> Subject: Re: [Catalyst] Dispatching question: same path but
> different args attributes
>
> Marc Logghe wrote:
> > Hi all,
> >
> > It seems that you cannot do something like (in 'controller1'):
> >
> > action1 :Path('action') :Args(0) { .. }
> > action2 :Path('action') :Args(1) { .. }
>
> What version of Catalyst have you got? This definitely didn't
> work pre-5.70 and it's entirely possible I got something
> wrong when I implemented it, since I was mostly worrying
> about Chained and uri_for($action) at the time.
>
I have, which I thought was the latest CPAN version, 5.6902. Think I
know what happened: at search.cpan.org I searched for catalyst.
The first match is a link to Catalyst::Manual::Cookbook of version
5.6902. So I downloaded from there. Not the latest version indeed.
I'll try out the *really* latest version, pretty sure it will work out
as expected.
Thanks and apologies for the fuzz !
Marc
More information about the Catalyst
mailing list