diff options
author | Buchan Milne <buchan@mageia.org> | 2010-11-04 15:47:00 +0000 |
---|---|---|
committer | Buchan Milne <buchan@mageia.org> | 2010-11-04 15:47:00 +0000 |
commit | 47272b1601e289cdba31089ce36cec46a7a360de (patch) | |
tree | d626a2055c46ae90225b7438b9df40973a848b05 | |
parent | 7b6f1a3b1c9d44c0680bcc8f26805696146b45c9 (diff) | |
download | identity-47272b1601e289cdba31089ce36cec46a7a360de.tar identity-47272b1601e289cdba31089ce36cec46a7a360de.tar.gz identity-47272b1601e289cdba31089ce36cec46a7a360de.tar.bz2 identity-47272b1601e289cdba31089ce36cec46a7a360de.tar.xz identity-47272b1601e289cdba31089ce36cec46a7a360de.zip |
Commit missing Email::Template view
-rw-r--r-- | lib/CatDap/View/Email/Template.pm | 38 |
1 files changed, 38 insertions, 0 deletions
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<CatDap> + +=head1 LICENSE + +This library is free software, you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut + +1; |