fix failing stemmaweb stub test
Tara L Andrews [Wed, 18 Apr 2012 21:04:41 +0000 (23:04 +0200)]
lib/stemmaweb.pm
lib/stemmaweb/View/TT.pm

index e024c31..94121c1 100644 (file)
@@ -43,6 +43,11 @@ __PACKAGE__->config(
        'View::JSON' => {
                expose_stash => 'result',
        },
+       'View::TT' => {
+               INCLUDE_PATH => [
+                       stemmaweb->path_to( 'root', 'src' ),
+               ],
+       },
 );
 
 # Start the application
index 55061d7..d8a3005 100644 (file)
@@ -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,
 );