blib/lib/auto/share/dist/Clustericious/tmpl/1.08/app/lib/APPCLASS/Routes.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 % my $class = shift;
2 package <%= $class %>::Routes;
3  
4 =head1 NAME
5  
6 <%= $class %>::Routes - set up the routes for <%= $class %>.
7  
8 =head1 DESCRIPTION
9  
10 This package defines the API for <%= $class %>.
11  
12 =head1 ROUTES
13  
14 =cut
15  
16 use strict;
17 use warnings;
18  
19 use Clustericious::RouteBuilder;
20  
21 =head2 get /
22  
23 Get a welcome message.
24  
25 =cut
26  
27 get '/' => sub {
28 my($c) = @_;
29 $c->render(text => 'welcome to <%= $class %>');
30 };
31  
32 1;