aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-03-15 18:48:25 +0000
committerDave Whiteland <dave@mysociety.org>2013-03-15 18:48:25 +0000
commit223c853b2b7ac7fe2af09ca43c6e2f85c0d5e3f8 (patch)
tree25548d4e64368df090b750ac0b38fab85a9b9de5 /perllib/FixMyStreet/App.pm
parent7e02c6e2d4452a808a5305ee515a9c1ba1d8a8b3 (diff)
parent8e0aa62249316b5735e02a1a591f9f56ae945226 (diff)
Merge remote branch 'origin/master'
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'],
},