projects
/
catagits/Catalyst-Runtime.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
history
|
HEAD
TraitFor headers
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
Catalyst
/
TraitFor
/
Context
/
TestHeaders.pm
Commit
Line
Data
04f7e630
1
package Catalyst::TraitFor::Context::TestHeaders;
2
3
use Moose::Role;
4
5
after prepare_action => sub{
6
my $c = shift;
7
$c->res->header( 'X-Catalyst-Action' => $c->req->action );
8
};
9
10
1;
11