1 package TestApp::Action::TestExtraArgsAction;
4 use namespace::autoclean;
6 extends 'Catalyst::Action';
8 has [qw/extra_arg another_extra_arg/] => (is => 'ro');
10 after execute => sub {
11 my ($self, $controller, $ctx) = @_;
12 $ctx->response->header('X-TestExtraArgsAction' => join q{,} => $self->extra_arg, $self->another_extra_arg);
15 __PACKAGE__->meta->make_immutable;