blob: 6b28ca13fdc90e45abef221b4b4ff3a771b00d7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package FixMyStreet::App::View::EmailText;
use base 'Catalyst::View::TT';
use strict;
use warnings;
use FixMyStreet;
use FixMyStreet::Template;
__PACKAGE__->config(
CLASS => 'FixMyStreet::Template',
TEMPLATE_EXTENSION => '.txt',
INCLUDE_PATH => [ FixMyStreet->path_to( 'templates', 'email', 'default' ) ],
render_die => 1,
disable_autoescape => 1,
);
=head1 NAME
FixMyStreet::App::View::EmailText - TT View for FixMyStreet::App
=head1 DESCRIPTION
A TT view for the text part of emails - so no HTML auto-escaping
=cut
1;
|