blib/lib/OpusVL/AppKit/Controller/AppKit/Admin.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
auto
2.0
index
2.0
CRAP 2.0
1 package OpusVL::AppKit::Controller::AppKit::Admin;
2  
3 use Moose;
4 use namespace::autoclean;
5  
6 BEGIN { extends 'Catalyst::Controller'; };
7 with 'OpusVL::AppKit::RolesFor::Controller::GUI';
8  
9  
10 sub auto
11 : Action
12 : AppKitFeature('Role Administration,User Administration,Password Change')
13 {
14 my ( $self, $c ) = @_;
15  
16 # add to the bread crumb..
17 push ( @{ $c->stash->{breadcrumbs} }, { name => 'Settings', url => $c->uri_for( $c->controller('AppKit::Admin')->action_for('index') ) } );
18 }
19  
20  
21 sub index
22 : Path
23 : Args(0)
24 : AppKitFeature('Role Administration,User Administration,Password Change')
25 {
26 my ( $self, $c ) = @_;
27  
28 }
29  
30 __END__
31  
32 =pod
33  
34 =encoding UTF-8
35  
36 =head1 NAME
37  
38 OpusVL::AppKit::Controller::AppKit::Admin
39  
40 =head1 VERSION
41  
42 version 2.24
43  
44 =head2 auto
45  
46 =head2 index
47  
48 Default action for this controller.
49  
50 =head1 AUTHOR
51  
52 OpusVL - www.opusvl.com
53  
54 =head1 COPYRIGHT AND LICENSE
55  
56 This software is copyright (c) 2010 by OpusVL - www.opusvl.com.
57  
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60  
61 =cut