diff options
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 3 |
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(); |