[Catalyst] How do I set the default view in Catalyst?

Tomas Doran bobtfish at bobtfish.net
Wed May 6 17:45:16 GMT 2009


kakimoto at tpg.com.au wrote:
>>From what I have read,  to set default view to TT, I have to declare
> 
> 'default_view' => 'TT', in my myApp.pm file.
> 

That's exactly right.

So you'll be saying:

__PACKAGE__->config( default_view => 'TT' );

in MyApp.pm

Cheers
t0m



More information about the Catalyst mailing list