projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
- Restored Regex behaviour and added LocalRegex
[catagits/Catalyst-Runtime.git]
/
t
/
live
/
lib
/
TestApp
/
Controller
/
Action
/
Regexp.pm
diff --git
a/t/live/lib/TestApp/Controller/Action/Regexp.pm
b/t/live/lib/TestApp/Controller/Action/Regexp.pm
index
8bc04a7
..
e454cfd
100644
(file)
--- a/
t/live/lib/TestApp/Controller/Action/Regexp.pm
+++ b/
t/live/lib/TestApp/Controller/Action/Regexp.pm
@@
-8,7
+8,7
@@
sub one : Action Regex('^action/regexp/(\w+)/(\d+)$') {
$c->forward('TestApp::View::Dump::Request');
}
-sub two : Action Regexp('(\d+)/(\w+)$') {
+sub two : Action LocalRegexp('^(\d+)/(\w+)$') {
my ( $self, $c ) = @_;
$c->forward('TestApp::View::Dump::Request');
}