aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/My.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-09-11 15:15:52 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-09-11 15:15:52 +0100
commit459851ed73ed44af3583e8e82ec22b791fe9531a (patch)
treed7ba8eb658482cee7e424681a9bcf02d52d0cc75 /perllib/FixMyStreet/App/Controller/My.pm
parent2cc255b912dc0f79de270be682a9e85d7fb95d7a (diff)
parent59f419a4f2ea2a94ba30b43d2dadb6c6fcab3729 (diff)
Merge branch '1836-slash-category-bug'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/My.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/My.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/My.pm b/perllib/FixMyStreet/App/Controller/My.pm
index ea7aee016..5b80a4a08 100644
--- a/perllib/FixMyStreet/App/Controller/My.pm
+++ b/perllib/FixMyStreet/App/Controller/My.pm
@@ -19,9 +19,10 @@ Catalyst Controller.
=cut
-sub begin : Private {
+sub auto : Private {
my ($self, $c) = @_;
$c->detach( '/auth/redirect' ) unless $c->user;
+ return 1;
}
=head2 index