aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Model/DB.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-09-01 11:44:10 +0100
committerDave Arter <davea@mysociety.org>2017-09-01 16:50:13 +0100
commitbd69f35b39b34318c4be76beb0148e0000193b24 (patch)
treedf7a30a9dd4f2f8a8c2f0727a04277cea2fad35c /perllib/FixMyStreet/App/Model/DB.pm
parent0c4b5041d807899ab708db4c5dd15203d23df257 (diff)
Make current cobrand available on DB::Schema
Diffstat (limited to 'perllib/FixMyStreet/App/Model/DB.pm')
-rw-r--r--perllib/FixMyStreet/App/Model/DB.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Model/DB.pm b/perllib/FixMyStreet/App/Model/DB.pm
index db8e72c27..c116abffc 100644
--- a/perllib/FixMyStreet/App/Model/DB.pm
+++ b/perllib/FixMyStreet/App/Model/DB.pm
@@ -21,6 +21,7 @@ __PACKAGE__->config(
sub build_per_context_instance {
my ( $self, $c ) = @_;
+ # $self->schema->cobrand($c->cobrand);
$self->schema->cache({});
return $self;
}