Fixed :Path() empty brackets attribute not registering action.
[catagits/Catalyst-Runtime.git] / t / lib / TestPath / Controller / Two.pm
diff --git a/t/lib/TestPath/Controller/Two.pm b/t/lib/TestPath/Controller/Two.pm
new file mode 100644 (file)
index 0000000..b5373df
--- /dev/null
@@ -0,0 +1,12 @@
+package TestPath::Controller::Two;
+use Moose;
+use namespace::autoclean;
+
+BEGIN { extends 'Catalyst::Controller' }
+
+sub two :Path() {
+    my ( $self, $c ) = @_;
+    $c->response->body( 'OK' );
+}
+
+__PACKAGE__->meta->make_immutable;
\ No newline at end of file