Updating branch to current revision
[catagits/Catalyst-Runtime.git] / trunk / t / lib / TestApp / Controller / Action / Auto.pm
diff --git a/trunk/t/lib/TestApp/Controller/Action/Auto.pm b/trunk/t/lib/TestApp/Controller/Action/Auto.pm
new file mode 100644 (file)
index 0000000..b90b4e6
--- /dev/null
@@ -0,0 +1,21 @@
+package TestApp::Controller::Action::Auto;
+
+use strict;
+use base 'TestApp::Controller::Action';
+
+sub auto : Private {
+    my ( $self, $c ) = @_;
+    return 1;
+}
+
+sub default : Private {
+    my ( $self, $c ) = @_;
+    $c->res->body( 'default' );
+}
+
+sub one : Local {
+    my ( $self, $c ) = @_;
+    $c->res->body( 'one' );
+}
+
+1;