| 1 | package OpusVL::AppKit::View::JSON; | ||
| 2 | use base qw( Catalyst::View::JSON ); | ||
| 3 | |||
| 4 | |||
| 5 | __PACKAGE__->config( | ||
| 6 | expose_stash => 'json', | ||
| 7 | ); | ||
| 8 | |||
| 9 | __END__ | ||
| 10 | |||
| 11 | =pod | ||
| 12 | |||
| 13 | =encoding UTF-8 | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | OpusVL::AppKit::View::JSON | ||
| 18 | |||
| 19 | =head1 VERSION | ||
| 20 | |||
| 21 | version 2.22 | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This is our JSON view. It only exposes the json key from the stash. | ||
| 26 | |||
| 27 | 1; | ||
| 28 | |||
| 29 | =head1 NAME | ||
| 30 | |||
| 31 | OpusVL::AppKit::View::JSON | ||
| 32 | |||
| 33 | =head1 AUTHOR | ||
| 34 | |||
| 35 | OpusVL - www.opusvl.com | ||
| 36 | |||
| 37 | =head1 COPYRIGHT AND LICENSE | ||
| 38 | |||
| 39 | This software is copyright (c) 2010 by OpusVL - www.opusvl.com. | ||
| 40 | |||
| 41 | This is free software; you can redistribute it and/or modify it under | ||
| 42 | the same terms as the Perl 5 programming language system itself. | ||
| 43 | |||
| 44 | =cut |