aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-03-15 17:38:41 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-03-15 17:38:59 +0000
commit80590a33e14158b7e674455e9d4b1080a52f45f1 (patch)
tree09eb5c06d813225f4f8e3f82c3cda4cb56935271
parent9f0687c6c13b6568058c7bf63a3e8bac6b9b2044 (diff)
Fix couple of issues with module upgrades.
-rw-r--r--perllib/FixMyStreet/App.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index ee5b11876..3d7458e2a 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -2,6 +2,9 @@ package FixMyStreet::App;
use Moose;
use namespace::autoclean;
+# Should move away from Email::Send, but until then:
+$Return::Value::NO_CLUCK = 1;
+
use Catalyst::Runtime 5.80;
use DateTime;
use FixMyStreet;
@@ -46,7 +49,7 @@ __PACKAGE__->config(
default_view => 'Web',
# Serve anything in web dir that is not a .cgi script
- static => { #
+ 'Plugin::Static::Simple' => {
include_path => [ FixMyStreet->path_to("web") . "" ],
ignore_extensions => ['cgi'],
},