use base 'Catalyst::Action';
use Module::Pluggable::Object;
-use Data::Dump qw(dump);
use Catalyst::Request::REST;
use Catalyst::Utils ();
$c->log->info("Using deprecated configuration for Catalyst::Action::REST!");
$c->log->info("Please see perldoc Catalyst::Action::REST for the update guide");
$config = $controller->{'serialize'};
+ # if they're using the deprecated config, they may be expecting a
+ # default mapping too.
+ $config->{map} ||= $controller->{map};
} else {
$config = $controller;
}