new test suit
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / Regexp.pm
CommitLineData
dd4e6fd2 1package TestApp::Controller::Action::Regexp;
2
3use strict;
4use base 'TestApp::Controller::Action';
5
6sub one : Action Regexp('^action/regexp/(\w+)/(\d+)$') {
7 my ( $self, $c ) = @_;
8 $c->forward('TestApp::View::Dump::Request');
9}
10
11sub two : Action Regex('^action/regexp/(\d+)/(\w+)$') {
12 my ( $self, $c ) = @_;
13 $c->forward('TestApp::View::Dump::Request');
14}
15
161;