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

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 2 / 2 totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/OpusVL/AppKit/Controller/AppKit.pm ↑ Summary lib/OpusVL/AppKit/Model/AppKitAuthDB.pm »
1 package OpusVL::AppKit::Controller::AppKit::Admin;
2  
3 9 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 9 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 9 ▶BEGIN { extends 'Catalyst::Controller'; };
Subroutine BEGIN: called CC=1 SCAR=0.0
7 9 with 'OpusVL::AppKit::RolesFor::Controller::GUI';
8  
9  
10 sub auto
11 : Action
12 : AppKitFeature('Role Administration,User Administration,Password Change')
13 {
14 31 ▶ my ( $self, $c ) = @_;
Subroutine auto: called CC=1 SCAR=0.0
Pod documented
15  
16 # add to the bread crumb..
17 31 push ( @{ $c->stash->{breadcrumbs} }, { name => 'Settings', url => $c->uri_for( $c->controller('AppKit::Admin')->action_for('index') ) } );
18 9 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20  
21 sub index
22 : Path
23 : Args(0)
24 : AppKitFeature('Role Administration,User Administration,Password Change')
25 {
26 2 ▶ my ( $self, $c ) = @_;
Subroutine index: called CC=1 SCAR=0.0
Pod documented
27  
28 9 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
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
« lib/OpusVL/AppKit/Controller/AppKit.pm ↑ Summary lib/OpusVL/AppKit/Model/AppKitAuthDB.pm »