diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-11 15:15:52 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-11 15:15:52 +0100 |
commit | 459851ed73ed44af3583e8e82ec22b791fe9531a (patch) | |
tree | d7ba8eb658482cee7e424681a9bcf02d52d0cc75 /perllib/FixMyStreet/App/Controller/My.pm | |
parent | 2cc255b912dc0f79de270be682a9e85d7fb95d7a (diff) | |
parent | 59f419a4f2ea2a94ba30b43d2dadb6c6fcab3729 (diff) |
Merge branch '1836-slash-category-bug'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/My.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/My.pm | 3 |
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 |