[Catalyst] New built in action!

Matt S Trout dbix-class at trout.me.uk
Sun Oct 23 19:25:29 CEST 2005


On Sat, Oct 22, 2005 at 05:32:08PM +0200, Sebastian Riedel wrote:
> 
> Am 22.10.2005 um 17:07 schrieb Bill Moseley:
> >It's would seem natural to show one use to do this then:
> >
> >    /admin/users/12
> 
> I know what you mean, but this would just replace "default",
> while current "index" happens to be on a different level.

Except - and this is where people get really annoyed with default - default
gets passed *all* path parts as arguments no matter which controller it's
defined in. If index is at the appropriate level I don't see why it can't take
arguments if no action below that path has already grabbed handling of the
request.

-- 
     Matt S Trout       Specialists in Perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
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