diff options
Diffstat (limited to 't/lib/TestApp')
-rw-r--r-- | t/lib/TestApp/Controller/Root.pm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/t/lib/TestApp/Controller/Root.pm b/t/lib/TestApp/Controller/Root.pm new file mode 100644 index 0000000..0d44865 --- /dev/null +++ b/t/lib/TestApp/Controller/Root.pm @@ -0,0 +1,16 @@ +package TestApp::Controller::Root; +use parent Catalyst::Controller; + +__PACKAGE__->config->{namespace} = ''; + +sub root : Chained('/') PathPart() CaptureArgs(0) { } + +sub index : Chained('root') PathPart('') Args(0) { } + +sub view : Chained('root') PathPart('view') Args(1) { } + +sub view_user : Chained('root') PathPart('view/user') Args(1) { } + +sub edit : Chained('root') PathPart('edit') Args(1) { } + +1; |