* Matt S Trout <[EMAIL PROTECTED]> [2008-04-23 21:40]:
> On Wed, Apr 23, 2008 at 03:25:47PM +0100, Curtis Fletcher wrote:
> > Digging around, is it a sane thing to have:
> > 
> > __PACKAGE__->_action_class('Catalyst::Action::MyAction');
> > 
> > At the top of a controller if I want all of the methods to
> > use the same non-default ActionClass? I'm nervous about using
> > anything that starts with _
> 
> It starts with _ because you should never call it from
> -outside- the class.
> 
> You're fine calling it on your own class.

So if I want to use a particular Action class as the default for
all my actions, I can do that by creating my own controller base
class where I put that at the top and then have my controllers
inherit from that instead of directly from Catalyst::Controller?

Or do I need to do something more subtle?

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to