diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-02-23 22:13:39 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-02-23 22:13:39 +0000 |
commit | 49e2dec7a498e4375d2619befd6fa57aefa32f48 (patch) | |
tree | b4a0c8fbdcc43d1e6a020e6f9547842baf9fa179 /perllib/FixMyStreet/App/Controller | |
parent | 3ef36c3c9b5393c78c0af59b9f4e3f4528472357 (diff) |
Added back index page for the tests
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Root.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Root.pm b/perllib/FixMyStreet/App/Controller/Root.pm index debddef38..4b65dc4f7 100644 --- a/perllib/FixMyStreet/App/Controller/Root.pm +++ b/perllib/FixMyStreet/App/Controller/Root.pm @@ -31,6 +31,15 @@ sub auto : Private { return 1; } +=head2 index + +=cut + +sub index : Private { + my ( $self, $c ) = @_; + $c->res->body('index'); +} + =head2 default Forward to the standard 404 error page |