* Daniel McBrearty <[EMAIL PROTECTED]> [2008-06-04 23:05]:
> If you have more than one view type, what determines which is
> used by default?

perldoc Catalyst

    If the name is omitted, it will look for
    - a view object in $c->stash{current_view_instance}, then
    - a view name in $c->stash->{current_view}, then
    - a config setting 'default_view', or
    - check if there is only one view, and return it if that's the case.

Similar rule for the model, btw.

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