use strict;
use warnings;
use base 'Catalyst::Controller::REST';
__PACKAGE__->config( map => undef );
__PACKAGE__->config(
map => {
'application/json' => 'JSON',
'text/x-json' => 'JSON',
'text/html' => [ 'View', 'TT' ]
},
default => 'text/html',
'stash_key' => 'resource',
);
{ my ( $self, $c ) = @_; $c->forward('Hydra::Controller::Root::begin'); }
{ my ( $self, $c ) = @_; $c->forward('Hydra::Controller::Root::end'); }
1;