stop using Moo as a test package
[catagits/Catalyst-Runtime.git] / t / lib / TestAppMatchSingleArg / Controller / Root.pm
1 package TestAppMatchSingleArg::Controller::Root;
2
3 use strict;
4 use warnings;
5 use base 'Catalyst::Controller';
6
7 __PACKAGE__->config->{namespace} = '';
8
9 sub match_single : Path Args(1) {
10     my ($self, $c) = @_;
11     $c->res->body('Path Args(1)');
12 }
13
14 sub match_other : Path {
15     my ($self, $c) = @_;
16     $c->res->body('Path');
17 }
18
19 sub match_two : Path Args(2) {
20     my ($self, $c) = @_;
21     $c->res->body('Path Args(2)');
22 }
23
24 1;