diff options
author | Dave Arter <davea@mysociety.org> | 2017-09-01 11:44:10 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2017-09-01 16:50:13 +0100 |
commit | bd69f35b39b34318c4be76beb0148e0000193b24 (patch) | |
tree | df7a30a9dd4f2f8a8c2f0727a04277cea2fad35c /perllib/FixMyStreet/DB/Schema.pm | |
parent | 0c4b5041d807899ab708db4c5dd15203d23df257 (diff) |
Make current cobrand available on DB::Schema
Diffstat (limited to 'perllib/FixMyStreet/DB/Schema.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Schema.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/DB/Schema.pm b/perllib/FixMyStreet/DB/Schema.pm index 10bbd434f..be39069d8 100644 --- a/perllib/FixMyStreet/DB/Schema.pm +++ b/perllib/FixMyStreet/DB/Schema.pm @@ -25,6 +25,8 @@ __PACKAGE__->connection(FixMyStreet->dbic_connect_info); has lang => ( is => 'rw' ); +has cobrand => ( is => 'rw' ); + has cache => ( is => 'rw', lazy => 1, default => sub { {} } ); 1; |