| 1 | package OpusVL::AppKit::Controller::AppKit::Admin; | ||
| 2 | |||
| 3 | 10 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 10 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 10 | ▶ | BEGIN { extends 'Catalyst::Controller'; }; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 10 | 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 | 10 | ▶ | } |
|
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 | 10 | ▶ | } |
|
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.22 | ||
| 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 | ||