test for stackoverflow Path bug
[catagits/Catalyst-Runtime.git] / t / lib / TestAppMatchSingleArg / Controller / Root.pm
CommitLineData
9dac01c7 1package TestAppMatchSingleArg::Controller::Root;
2
3use strict;
4use warnings;
5use base 'Catalyst::Controller';
6
7__PACKAGE__->config->{namespace} = '';
8
9sub match_single : Path Args(1) {
10 my ($self, $c) = @_;
11 $c->res->body('Path Args(1)');
12}
13
14sub match_other : Path {
15 my ($self, $c) = @_;
16 $c->res->body('Path');
17}
18
191;