projects
/
catagits/Catalyst-View-TT.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
new config attr that lets you override the default content type
[catagits/Catalyst-View-TT.git]
/
t
/
lib
/
TestApp
/
Controller
/
Root.pm
diff --git
a/t/lib/TestApp/Controller/Root.pm
b/t/lib/TestApp/Controller/Root.pm
index
92105a5
..
7d612c2
100644
(file)
--- a/
t/lib/TestApp/Controller/Root.pm
+++ b/
t/lib/TestApp/Controller/Root.pm
@@
-53,6
+53,12
@@
sub test_msg : Local {
$c->stash->{template} = 'test.tt';
}
+sub test_alt_content_type : Local {
+ my ($self, $c) = @_;
+ $c->stash( message => 'test_alt_content_type');
+ $c->forward('View::TT::AltContentType');
+}
+
sub end : Private {
my ($self, $c) = @_;