aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2018-08-23 18:33:32 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-08-29 13:09:54 +0100
commitc255f82085e85cfa520871b80fc70964da3d7015 (patch)
tree8a21fc9def145524726138458e94e84ed9541def /perllib/FixMyStreet/App/Controller/Report
parent60629c93d6f6ebb48ba00e16abffd8df4df79abe (diff)
Move all test endpoints under /_dev.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index a1038e909..14b1029a7 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -118,12 +118,6 @@ sub report_new : Path : Args(0) {
$c->forward('redirect_or_confirm_creation');
}
-sub report_new_test : Path('_test_') : Args(0) {
- my ( $self, $c ) = @_;
- $c->stash->{template} = 'email_sent.html';
- $c->stash->{email_type} = $c->get_param('email_type');
-}
-
# This is for the new phonegap versions of the app. It looks a lot like
# report_new but there's a few workflow differences as we only ever want
# to sent JSON back here