projects
/
catagits/CatalystX-Routes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use REST::ForBrowsers action class
[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
index
d8cc767
..
0646229
100644
(file)
--- a/
t/lib/MyApp1/Controller/C1.pm
+++ b/
t/lib/MyApp1/Controller/C1.pm
@@
-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}++;
}