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

Christopher H. Laco claco at chrislaco.com
Mon Jan 23 17:19:13 CET 2006


Marcus Ramberg wrote:
> 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

Right. That's why I said examples are worth a 1000 words here. After
seeing it, I completely agree it was the right thing to do.

-=Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060123/d98e233c/smime.bin


More information about the Catalyst mailing list