Add a test view for dumping actions
Florian Ragwitz [Thu, 14 Apr 2011 11:50:06 +0000 (13:50 +0200)]
t/lib/TestApp/View/Dump/Action.pm [new file with mode: 0644]

diff --git a/t/lib/TestApp/View/Dump/Action.pm b/t/lib/TestApp/View/Dump/Action.pm
new file mode 100644 (file)
index 0000000..a8c7a97
--- /dev/null
@@ -0,0 +1,11 @@
+package TestApp::View::Dump::Action;
+
+use strict;
+use base qw[TestApp::View::Dump];
+
+sub process {
+    my ( $self, $c ) = @_;
+    return $self->SUPER::process( $c, $c->action );
+}
+
+1;