projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add a test controller for :Chained('../../action').
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestApp
/
Controller
/
Action
/
Regexp.pm
diff --git
a/t/lib/TestApp/Controller/Action/Regexp.pm
b/t/lib/TestApp/Controller/Action/Regexp.pm
index
e454cfd
..
cdb6abc
100644
(file)
--- a/
t/lib/TestApp/Controller/Action/Regexp.pm
+++ b/
t/lib/TestApp/Controller/Action/Regexp.pm
@@
-13,4
+13,9
@@
sub two : Action LocalRegexp('^(\d+)/(\w+)$') {
$c->forward('TestApp::View::Dump::Request');
}
+sub three : Action LocalRegex('^(mandatory)(/optional)?$'){
+ my ( $self, $c ) = @_;
+ $c->forward('TestApp::View::Dump::Request');
+}
+
1;