[Catalyst] [ANNOUNCE] Catalyst::View::TT 0.22 - Warning: Change in behavior

Marcus Ramberg marcus at thefeed.no
Mon Jan 23 17:16:25 CET 2006


On 1/23/06, Bill Moseley <moseley at hank.org> wrote:
>
> On Mon, Jan 23, 2006 at 02:51:40PM +0100, Marcus Ramberg wrote:
> > Hi.
> >
> > I've just uploaded Catalyst::View::TT version 0.22 to CPAN, this release
> > changes the default template name, so that if $c->stash->{template} is
> not
> > set, it will fall back to the private name of the matched action, rather
> > than the eclictic (and not very usable) mix of $c->req->action.
>
> Good.  I've been using $c->action->reverse.  That's what $c->action
> stringifies to, correct?


Yes.

Re the examples, no.

Admin/Gallery.pm : foo : Local
Gallery.pm <http://gallery.pm/> : foo : Local

Will resolve to /admin/gallery/foo and /gallery/foo . In the old mess,
Gallery.pm foo : Global would resolv to /foo . now it resolves to
/gallery/foo.

It's all for the best, promise :)

Marcus

_______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>



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


More information about the Catalyst mailing list