Use REST::ForBrowsers action class
[catagits/CatalystX-Routes.git] / t / lib / MyApp1 / Controller / C1.pm
index d8cc767..0646229 100644 (file)
@@ -23,6 +23,16 @@ put '/foo' => \&_put;
 
 del '/foo' => \&_del;
 
+get 'bar'=> \&_get;
+
+get_html 'bar'=> \&_get_html;
+
+post 'bar'=> \&_post;
+
+put 'bar'=> \&_put;
+
+del 'bar'=> \&_del;
+
 sub normal : Chained('/') : Args(0) {
     $REQ{normal}++;
 }