From 47272b1601e289cdba31089ce36cec46a7a360de Mon Sep 17 00:00:00 2001 From: Buchan Milne Date: Thu, 4 Nov 2010 15:47:00 +0000 Subject: Commit missing Email::Template view --- lib/CatDap/View/Email/Template.pm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lib/CatDap/View/Email/Template.pm (limited to 'lib/CatDap') diff --git a/lib/CatDap/View/Email/Template.pm b/lib/CatDap/View/Email/Template.pm new file mode 100644 index 0000000..d023363 --- /dev/null +++ b/lib/CatDap/View/Email/Template.pm @@ -0,0 +1,38 @@ +package CatDap::View::Email::Template; + +use strict; +use base 'Catalyst::View::Email::Template'; + +__PACKAGE__->config( + stash_key => 'email', + template_prefix => 'email', + default => { + view => 'TT', + content_type => 'text/plain', + } +); + +=head1 NAME + +CatDap::View::Email::Template - Templated Email View for CatDap + +=head1 DESCRIPTION + +View for sending template-generated email from CatDap. + +=head1 AUTHOR + +Buchan Milne + +=head1 SEE ALSO + +L + +=head1 LICENSE + +This library is free software, you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut + +1; -- cgit v1.2.1