Merge branch 'master' into psgi
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / DieInEnd.pm
diff --git a/t/lib/TestApp/Controller/Action/DieInEnd.pm b/t/lib/TestApp/Controller/Action/DieInEnd.pm
new file mode 100644 (file)
index 0000000..61f4b2c
--- /dev/null
@@ -0,0 +1,16 @@
+package TestApp::Controller::Action::DieInEnd;
+
+use strict;
+use base 'TestApp::Controller::Action';
+
+sub end : Private {
+    my ( $self, $c ) = @_;
+    die "I'm ending with death";
+}
+
+sub default : Private {
+    my ( $self, $c ) = @_;
+    $c->forward('TestApp::View::Dump::Request');
+}
+
+1;