NAME

Catalyst::TraitFor::View::TT::ConfigPerSite - Extend Catalyst TT View to work with multiple sites at once

SYNOPSIS

package MyApp::View::TT;

use Moose;

extends 'Catalyst::View::TT';

with qw(Catalyst::TraitFor::View::TT::ConfigPerSite);

DESCRIPTION

This Role or Trait allows you to share an application between sites, clients, etc with different configuration for databases. It extends Catalyst TT View to work with multiple template paths, per site or configuration.

METHODS

build_per_context_instance

SEE ALSO

Catalyst::Component::InstancePerContext

Moose::Role

AUTHOR

Aaron Trevena, <aaron@aarontrevena.co.uk>

COPYRIGHT AND LICENSE

Copyright (C) 2010-2013 by Aaron Trevena

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.