projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6d136e0
)
now prepare_action is in Context - fixing test libs (for example for test t/aggregate...
Zbigniew Ĺukasiak [Tue, 17 Nov 2009 14:54:07 +0000 (14:54 +0000)]
t/lib/TestApp/Context.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/TestApp/Context.pm
b/t/lib/TestApp/Context.pm
index
1aa6d7e
..
e3e8f75
100644
(file)
--- a/
t/lib/TestApp/Context.pm
+++ b/
t/lib/TestApp/Context.pm
@@
-51,6
+51,10
@@
sub execute {
return $c->SUPER::execute(@_);
}
+after prepare_action => sub{
+ my $c = shift;
+ $c->res->header( 'X-Catalyst-Action' => $c->req->action );
+};
1;