aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-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'],
},