[Catalyst] sub default :Private versus sub xxx :Path

Marcus Ramberg marcus.ramberg at gmail.com
Wed Jul 12 11:02:41 CEST 2006


On 7/11/06, Brandon Black <blblack at gmail.com> wrote:
>
> I would tend to think that "default" is the least-preferred way of
> doing these days.  "default" used to be an interesting way to do
> certain tricky things, but most of those things can now be handled
> better via the new "Chained" stuff.  I can't imagine a really good use
> for "default" that isn't covered better by Path or Chained or "sub
> index".  Also, default has the nasty side effect of matching
> unintended things that should have been 404's.


Default is still the best way to serve 404s. At least I like calling my 404
page default.tt :)


-- 
With regards
Marcus Ramberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060712/0c6c0982/attachment.htm 


More information about the Catalyst mailing list