stackoverflow path bug take two
[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
cdf573a6 19sub match_two : Path Args(2) {
20 my ($self, $c) = @_;
21 $c->res->body('Path Args(2)');
22}
23
9dac01c7 241;