2 # Catalyst::Action::Serialize::YAML.pm
3 # Created by: Adam Jacob, Marchex, <adam@marchex.com>
4 # Created on: 10/12/2006 03:00:32 PM PDT
8 package Catalyst::Action::Serialize::YAML;
13 use base 'Catalyst::Action';
18 my ( $controller, $c ) = @_;
20 my $stash_key = $controller->config->{'serialize'}->{'stash_key'} || 'rest';
23 $output = Dump($c->stash->{$stash_key});
28 $c->response->output( $output );