aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-14 17:45:00 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-14 17:45:00 +0100
commit5d9ae3dba11fc6c72935a3c6bb34d20d6dabec04 (patch)
tree61fd4340c256e76bbd8247bec0d6985da0c1b61d /perllib/FixMyStreet/App.pm
parent8c9570ed848af6a2967e6dbb5232a3a444b7e399 (diff)
Replace all $c->req with s->fake_q so that we isolate the old setup
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 8a93e4501..cf0157ab4 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -123,7 +123,7 @@ sub _get_cobrand {
? FixMyStreet::Cobrand->get_class_for_moniker($override_moniker)
: FixMyStreet::Cobrand->get_class_for_host($host);
- return $cobrand_class->new( { request => $c->req } );
+ return $cobrand_class->new( { request => $c->req, fake_q => $c->fake_q, } );
}
=head2 setup_request