Fixed forward to classes
[catagits/Catalyst-Runtime.git] / t / lib / TestApp.pm
index 594dfa3..8630a98 100644 (file)
@@ -50,6 +50,11 @@ sub execute {
     return $c->SUPER::execute(@_);
 }
 
+sub class_forward_test_method {
+    my ( $self, $c ) = @_;
+    $c->response->headers->header( 'X-Class-Forward-Test-Method' => 1 );
+}
+
 {
     no warnings 'redefine';
     sub Catalyst::Log::error { }