aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Root.pm
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-02-23 22:10:37 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-02-23 22:10:37 +0000
commit3ef36c3c9b5393c78c0af59b9f4e3f4528472357 (patch)
tree74e1118ae16bdd0e7cbb9f206248883c59de51e0 /perllib/FixMyStreet/App/Controller/Root.pm
parentb6ef8d10c3ec7164c65d81b75ecf2662952aeb6d (diff)
More work on the Cobrand and setting for request
test to see welsh about us page
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Root.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Root.pm18
1 files changed, 4 insertions, 14 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Root.pm b/perllib/FixMyStreet/App/Controller/Root.pm
index b61650f79..debddef38 100644
--- a/perllib/FixMyStreet/App/Controller/Root.pm
+++ b/perllib/FixMyStreet/App/Controller/Root.pm
@@ -22,23 +22,13 @@ Set up general things for this instance
=cut
-sub auto {
+sub auto : Private {
my ( $self, $c ) = @_;
- return;
-}
-
-=head2 index
-
-The root page (/)
-
-=cut
-
-sub index : Path : Args(0) {
- my ( $self, $c ) = @_;
+ # decide which cobrand this request should use
+ $c->setup_cobrand();
- # Hello World
- $c->response->body( $c->welcome_message );
+ return 1;
}
=head2 default