From: Tara L Andrews Date: Wed, 18 Apr 2012 21:04:41 +0000 (+0200) Subject: fix failing stemmaweb stub test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=350a6cdc3f099f91ff26f84facfefb1772db7c9b;p=scpubgit%2Fstemmatology.git fix failing stemmaweb stub test --- diff --git a/stemmaweb/lib/stemmaweb.pm b/stemmaweb/lib/stemmaweb.pm index e024c31..94121c1 100644 --- a/stemmaweb/lib/stemmaweb.pm +++ b/stemmaweb/lib/stemmaweb.pm @@ -43,6 +43,11 @@ __PACKAGE__->config( 'View::JSON' => { expose_stash => 'result', }, + 'View::TT' => { + INCLUDE_PATH => [ + stemmaweb->path_to( 'root', 'src' ), + ], + }, ); # Start the application diff --git a/stemmaweb/lib/stemmaweb/View/TT.pm b/stemmaweb/lib/stemmaweb/View/TT.pm index 55061d7..d8a3005 100644 --- a/stemmaweb/lib/stemmaweb/View/TT.pm +++ b/stemmaweb/lib/stemmaweb/View/TT.pm @@ -7,9 +7,6 @@ use base 'Catalyst::View::TT'; __PACKAGE__->config( TEMPLATE_EXTENSION => '.tt', - INCLUDE_PATH => [ - stemmaweb->path_to( 'root', 'src' ), - ], ENCODING => 'utf-8', render_die => 1, );