import my old svn repo here
[catagits/Catalyst-Component-ACCEPT_CONTEXT.git] / t / lib / TestApp / View / Test.pm
diff --git a/t/lib/TestApp/View/Test.pm b/t/lib/TestApp/View/Test.pm
new file mode 100644 (file)
index 0000000..7f3bb3b
--- /dev/null
@@ -0,0 +1,14 @@
+# Copyright (c) 2007 Jonathan Rockway <jrockway@cpan.org>
+
+package TestApp::View::Test;
+use strict;
+use warnings;
+use base qw(Catalyst::Component::ACCEPT_CONTEXT Catalyst::View);
+
+sub message {
+    my $self = shift;
+    return $self->context->stash->{message};
+}
+
+1;
+