Moritz Onken

SYNOPSIS

 package MyApp::Controller::User;
 use Moose;
 extends 'CatalystX::Controller::ExtJS::REST';
 with    'CatalystX::Controller::ExtJS::REST::SimpleExcel';
 
 1;
 

Access /users?content-type=application%2Fvnd.ms-excel to get the excel file.

DESCRIPTION

This role loads Catalyst::Action::Serialize::SimpleExcel and adds application/vnd.ms-excel to the type map. When requesting a list of objects, this role converts the output to satisfy Catalyst::Action::Serialize::SimpleExcel.

SEE ALSO

CatalystX::Controller::ExtJS::REST