Skip to the content
Documentation

Comment by Philippe Vincent-Royol, 2013-10-07 20:44

No ratings yet

Moreover $this->generator is wrong.. you have to use directly $generator->. But got an error: 

So i replace code via 

and it works..

Maybe to complete this tutorial, if you would like to generate your result with json, you just have to pass to header Accept: application/vnd.ez.api.Test+json

Got an other issue; your controller is wrong 

Smile

 If you create on service

you have to create your DefaultController.php which contains

Promise, i'm done for now 

Wink