« blib/lib/CatalystX/Resource/TraitFor/Controller/Resource/MergeUploadParams.pm
↑ Summary
lib/CatalystX/Resource/TraitFor/Controller/Resource/Sortable.pm »
| 1 | package CatalystX::Resource::TraitFor::Controller::Resource::Show; | ||
| 2 | $CatalystX::Resource::TraitFor::Controller::Resource::Show::VERSION = '0.009_002'; | ||
| 3 | use MooseX::MethodAttributes::Role; | ||
| 4 | use namespace::autoclean; | ||
| 5 | |||
| 6 | # ABSTRACT: a show action for your resource | ||
| 7 | |||
| 8 | |||
| 9 | sub show : Method('GET') Chained('base_with_id') PathPart('show') Args(0) { | ||
| 10 | my ( $self, $c ) = @_; | ||
| 11 | } | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | __END__ | ||
| 16 | |||
| 17 | =pod | ||
| 18 | |||
| 19 | =encoding UTF-8 | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | CatalystX::Resource::TraitFor::Controller::Resource::Show - a show action for your resource | ||
| 24 | |||
| 25 | =head1 VERSION | ||
| 26 | |||
| 27 | version 0.009_002 | ||
| 28 | |||
| 29 | =head1 ACTIONS | ||
| 30 | |||
| 31 | =head2 show | ||
| 32 | |||
| 33 | display the resource specified by its id, accessible as $c->stash->{resource} | ||
| 34 | |||
| 35 | =head1 AUTHOR | ||
| 36 | |||
| 37 | David Schmidt <davewood@cpan.org> | ||
| 38 | |||
| 39 | =head1 COPYRIGHT AND LICENSE | ||
| 40 | |||
| 41 | This software is copyright (c) 2011 by David Schmidt. | ||
| 42 | |||
| 43 | This is free software; you can redistribute it and/or modify it under | ||
| 44 | the same terms as the Perl 5 programming language system itself. | ||
| 45 | |||
| 46 | =cut |