aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Questionnaire.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-16 12:15:03 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-16 12:15:03 +0100
commit4a7912b97c75d8934bbab33532f0b6ac1e86e47f (patch)
tree3645cd9bd55c77b71adbe7a8fc74bcc58202ba01 /perllib/FixMyStreet/App/Controller/Questionnaire.pm
parent4cbadaa9cd86ff3c0a82ccb696d115c2496b287a (diff)
Generate /reports data on cron.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Questionnaire.pm')
-rwxr-xr-xperllib/FixMyStreet/App/Controller/Questionnaire.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Questionnaire.pm b/perllib/FixMyStreet/App/Controller/Questionnaire.pm
index 658d32e74..5506e2dbd 100755
--- a/perllib/FixMyStreet/App/Controller/Questionnaire.pm
+++ b/perllib/FixMyStreet/App/Controller/Questionnaire.pm
@@ -44,7 +44,7 @@ sub load_questionnaire : Private {
my $problem_url = $c->uri_for( "/report/$problem_id" );
my $contact_url = $c->uri_for( "/contact" );
$c->stash->{message} = sprintf(_("You have already answered this questionnaire. If you have a question, please <a href='%s'>get in touch</a>, or <a href='%s'>view your problem</a>.\n"), $contact_url, $problem_url);
- $c->stash->{template} = 'questionnaire/error.html';
+ $c->stash->{template} = 'errors/generic.html';
$c->detach;
}
@@ -95,7 +95,7 @@ sub missing_problem : Private {
my ( $self, $c ) = @_;
$c->stash->{message} = _("I'm afraid we couldn't locate your problem in the database.\n");
- $c->stash->{template} = 'questionnaire/error.html';
+ $c->stash->{template} = 'errors/generic.html';
}
sub submit_creator_fixed : Private {