[Catalyst] Dispatching question: same path but different args attributes

Matt S Trout dbix-class at trout.me.uk
Tue Oct 17 10:20:17 CEST 2006


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.

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list