diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-26 20:16:10 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-26 20:16:10 +0100 |
commit | 66612b10719e9412a7d4964b227149fd6ad98195 (patch) | |
tree | 861edf245bacf558339ec13f11bf4c9e229500cf /perllib/FixMyStreet/App/Controller/Fun.pm | |
parent | 6feb231029baabe551feae478233a4bffb392d9b (diff) |
/fun move.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Fun.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Fun.pm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Fun.pm b/perllib/FixMyStreet/App/Controller/Fun.pm new file mode 100644 index 000000000..e5d8f9652 --- /dev/null +++ b/perllib/FixMyStreet/App/Controller/Fun.pm @@ -0,0 +1,33 @@ +package FixMyStreet::App::Controller::Fun; +use Moose; +use namespace::autoclean; + +BEGIN { extends 'Catalyst::Controller'; } + +=head1 NAME + +FixMyStreet::App::Controller::Fun - Catalyst Controller + +=head1 DESCRIPTION + +Catalyst Controller. + +=head1 METHODS + +=cut + +=head2 fun + +Show the 'fun' page. + +=cut + +sub index : Path : Args(0) { + my ( $self, $c ) = @_; + $c->stash->{template} = 'fun.html'; +} + +__PACKAGE__->meta->make_immutable; + +1; + |