2 # Catlyst::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, $test ) = @_;
20 my $stash_key = $controller->serialize->{'stash_key'} || 'rest';
21 $c->response->output( Dump( $c->stash->{$stash_key} ) );