diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-21 12:06:34 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-21 12:06:34 +0100 |
commit | 2c5ddf10d9179d641bd70dc4602f33ee59fc8799 (patch) | |
tree | 9071b301c3e00e8639644045504df1e02d8b8132 /perllib/FixMyStreet/App/Controller/Questionnaire.pm | |
parent | 0f232284cd42dcea741ce1131151cefaf2e9e150 (diff) | |
parent | 62ba3756efd59ec2d39b07b5b0ccd109da355d08 (diff) |
Merge branch 'master' into new_statuses
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Questionnaire.pm')
-rwxr-xr-x | perllib/FixMyStreet/App/Controller/Questionnaire.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Questionnaire.pm b/perllib/FixMyStreet/App/Controller/Questionnaire.pm index 5506e2dbd..19d057958 100755 --- a/perllib/FixMyStreet/App/Controller/Questionnaire.pm +++ b/perllib/FixMyStreet/App/Controller/Questionnaire.pm @@ -79,7 +79,7 @@ sub submit : Path('submit') { } elsif ( $c->req->params->{problem} ) { $c->forward('submit_creator_fixed'); } else { - return; + $c->detach( '/page_error_404_not_found' ); } return 1; |