blob: 79d5c5681c36a50f92911f01c3a91e401036d57b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package FixMyStreet::App::Controller::My;
use Moose;
use namespace::autoclean;
BEGIN { extends 'Catalyst::Controller'; }
=head1 NAME
FixMyStreet::App::Controller::My - Catalyst Controller
=head1 DESCRIPTION
Catalyst Controller.
=head1 METHODS
=cut
=head2 index
=cut
sub my : Path : Args(0) {
my ( $self, $c ) = @_;
$c->detach( '/auth/redirect' ) unless $c->user;
}
__PACKAGE__->meta->make_immutable;
1;
|