diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2010-10-02 13:31:35 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2010-10-02 13:31:35 +0000 |
commit | a9ade04230fc99e5d12e7bd1af1e2dd31907d15a (patch) | |
tree | 32f25d1699e483eb219400e44e2e96d782feb7ea /lib/MGA/Mirrors/Controller/Distrib.pm | |
parent | 6f42c4ffb976cdffa257a09e4dcb33119750abfc (diff) | |
download | mgamirrors-a9ade04230fc99e5d12e7bd1af1e2dd31907d15a.tar mgamirrors-a9ade04230fc99e5d12e7bd1af1e2dd31907d15a.tar.gz mgamirrors-a9ade04230fc99e5d12e7bd1af1e2dd31907d15a.tar.bz2 mgamirrors-a9ade04230fc99e5d12e7bd1af1e2dd31907d15a.tar.xz mgamirrors-a9ade04230fc99e5d12e7bd1af1e2dd31907d15a.zip |
- handle distributions, protocol andothers things
Diffstat (limited to 'lib/MGA/Mirrors/Controller/Distrib.pm')
-rw-r--r-- | lib/MGA/Mirrors/Controller/Distrib.pm | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/MGA/Mirrors/Controller/Distrib.pm b/lib/MGA/Mirrors/Controller/Distrib.pm new file mode 100644 index 0000000..0d49e55 --- /dev/null +++ b/lib/MGA/Mirrors/Controller/Distrib.pm @@ -0,0 +1,48 @@ +package MGA::Mirrors::Controller::Distrib; +use Moose; +use namespace::autoclean; + +BEGIN {extends 'Catalyst::Controller'; } + +=head1 NAME + +MGA::Mirrors::Controller::Distrib - Catalyst Controller + +=head1 DESCRIPTION + +Catalyst Controller. + +=head1 METHODS + +=cut + + +=head2 index + +=cut + +sub index :Path :Args(0) { + my ( $self, $c ) = @_; + +} + +sub list :Path :Args(1) { + my ( $self, $c ) = @_; + $c->stash->{current_view} = 'TTBlock'; + $c->stash->{template} = 'distrib/distrib.tt'; +} + +=head1 AUTHOR + +Olivier Thauvin + +=head1 LICENSE + +This library is free software. You can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut + +__PACKAGE__->meta->make_immutable; + +1; |