2 # Catalyst::Action::Serialize::YAML.pm
3 # Created by: Adam Jacob, Marchex, <adam@hjksolutions.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 ) = @_;
21 $controller->config->{'serialize'} ?
22 $controller->config->{'serialize'}->{'stash_key'} :
23 $controller->config->{'stash_key'}
27 $output = Dump($c->stash->{$stash_key});
32 $c->response->output( $output );