aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-10 12:34:16 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-10 12:34:16 +0100
commiteda7a2d88e13a89e22843203cf4f749c8679b4d7 (patch)
tree682568bc6f46d262e5755268ac65238af4562b52 /perllib/FixMyStreet/App.pm
parentb862ad1300116978f98eae9a079a22d49fc4f85e (diff)
parentdf1494f5a9de03c80764adf6108cbf699f547459 (diff)
Merge branch '1244-corps-translatable-body-names'
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index c1628d010..2365118ea 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -168,6 +168,9 @@ template paths, maps, languages etc, etc.
sub setup_request {
my $c = shift;
+ # Set the Catalyst model schema to the same as the DB schema
+ $c->model("DB")->schema( FixMyStreet::DB->schema );
+
$c->setup_dev_overrides();
my $cobrand = $c->cobrand;