Switched to Module::Install
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Regexp.pm
index 5413b6c..e454cfd 100644 (file)
@@ -3,12 +3,12 @@ package TestApp::Controller::Action::Regexp;
 use strict;
 use base 'TestApp::Controller::Action';
 
-sub one : Action Regexp('^action/regexp/(\w+)/(\d+)$') {
+sub one : Action Regex('^action/regexp/(\w+)/(\d+)$') {
     my ( $self, $c ) = @_;
     $c->forward('TestApp::View::Dump::Request');
 }
 
-sub two : Action Regex('^action/regexp/(\d+)/(\w+)$') {
+sub two : Action LocalRegexp('^(\d+)/(\w+)$') {
     my ( $self, $c ) = @_;
     $c->forward('TestApp::View::Dump::Request');
 }