projects
/
scpubgit/stemmatology.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d6936de
)
fix failing stemmaweb stub test
Tara L Andrews [Wed, 18 Apr 2012 21:04:41 +0000 (23:04 +0200)]
stemmaweb/lib/stemmaweb.pm
patch
|
blob
|
blame
|
history
stemmaweb/lib/stemmaweb/View/TT.pm
patch
|
blob
|
blame
|
history
diff --git
a/stemmaweb/lib/stemmaweb.pm
b/stemmaweb/lib/stemmaweb.pm
index
e024c31
..
94121c1
100644
(file)
--- 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
(file)
--- 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,
);