initial checkin
[catagits/CatalystX-Routes.git] / t / lib / MyApp1 / Controller / C1.pm
diff --git a/t/lib/MyApp1/Controller/C1.pm b/t/lib/MyApp1/Controller/C1.pm
new file mode 100644 (file)
index 0000000..9aeaba7
--- /dev/null
@@ -0,0 +1,24 @@
+package MyApp1::Controller::C1;
+
+use Moose;
+use CatalystX::Routes;
+
+extends 'Catalyst::Controller';
+
+sub _get      { }
+sub _get_html { }
+sub _post     { }
+sub _put      { }
+sub _del      { }
+
+get '/foo' => \&_get;
+
+get_html '/foo' => \&_get_html;
+
+post '/foo' => \&_post;
+
+put '/foo' => \&_put;
+
+del '/foo' => \&_del;
+
+1;