[Catalyst] accessing action methods in a TT view

Rodney Broom rbroom+catalyst at rbroom.com
Thu Jul 13 17:06:21 CEST 2006


From: "John Napiorkowski" <jjn1056 at yahoo.com>

> Usually I just do something like $c->stash->{self} = \$self;

I've been doing the same thing in some proof of concept code, expecting to bump into a better (more proper) way to handle it. I have a sneaking suspicion that we aren't supposed to talk between our controller and views like this for reasons like there potentially being more than one view object created during a response.

---
Rodney Broom




More information about the Catalyst mailing list