[Catalyst] how is the default view type set?

Todd Holbrook paradawks at gmail.com
Wed Jun 4 22:08:36 BST 2008

On Wed, Jun 4, 2008 at 1:54 PM, Daniel McBrearty <danielmcbrearty at gmail.com>

> I am using JSON in one or two places (for ajax) and TT elsewhere.
> For some reason "make test" has started forwarding to JSON by
> *default* even though the test server still sends to TT.
> If you have more than one view type, what determines which is used by
> default?

You should set default_view in your config as soon as you add a second view.
 Just use the part of the package name after "View::", so "TT" in your case.

-- =

Todd Holbrook
Dream Theory Studios Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080604/9c1f7=

More information about the Catalyst mailing list