[Catalyst] Re: index and default actions (was: Why no extra
attributes on Private actions?)
Carl Franks
fireartist at gmail.com
Mon Jan 28 11:09:44 GMT 2008
On 23/01/2008, Aristotle Pagaltzis <pagaltzis at gmx.de> wrote:
> * Carl Johnstone <catalyst at fadetoblack.me.uk> [2008-01-23 15:10]:
> > off the top of my head can't see another way of doing the home
> > page of site.
>
> Chained PathPart('') Args
>
> (Probably :Args(0) actually.)
Just to confirm: I've tested this, and the following do work:
sub home : Chained : PathPart('') : Args(0) { }
sub error_404 : Chained : PathPart('') : Args { }
The PathPart('') is needed though, to match at the root.
Carl
More information about the Catalyst
mailing list