File: Sub.pm

package info (click to toggle)
libcatalyst-action-rest-perl 1.21-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 476 kB
  • sloc: perl: 1,750; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
package Test::Action::Class::Sub;
use Moose;

extends 'Test::Action::Class';

before execute => sub {
   my ($self, $controller, $c, @args) = @_;
   $c->response->header( 'Using-Sub-Action' => 'MOO' );
};

no Moose;

1;