aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-26 18:21:10 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-26 18:21:10 +0100
commit4308906bc2695f1fd034b8f5f1a6be657e6d4dfe (patch)
treedc5f8c5639155f7cff66579b301e4b499ac44c50 /perllib
parent860f2965f9af0699a40e022ba7c7370a304a4313 (diff)
put all confirmation templates under tokens for consistency
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/App/Controller/Alert.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm
index b836f5a79..db9602ff5 100644
--- a/perllib/FixMyStreet/App/Controller/Alert.pm
+++ b/perllib/FixMyStreet/App/Controller/Alert.pm
@@ -142,7 +142,7 @@ sub subscribe_email : Private {
$c->forward('create_alert');
if ( $c->stash->{alert}->confirmed ) {
$c->stash->{confirm_type} = 'created';
- $c->stash->{template} = 'alert/confirm.html';
+ $c->stash->{template} = 'tokens/confirm_alert.html';
} else {
$c->forward('send_confirmation_email');
}
@@ -166,7 +166,6 @@ sub confirm : Private {
my ( $self, $c ) = @_;
my $alert = $c->stash->{alert};
- $c->stash->{template} = 'alert/confirm.html';
if ( $c->stash->{confirm_type} eq 'subscribe' ) {
$alert->confirm();