I use FOSRESTBundle routing and I want to use parent parameter.
I've found this in this example http://symfony.com/doc/current/bundles/FOSRestBundle/6-automatic-route-generation_multiple-restful-controllers.html#resource-collection
But in my case it doesn't work. When I want to show all my routes by router:debug
command, Symfony returns me error:
[Symfony\Component\Config\Exception\FileLoaderLoadException]
The routing file "/home/kamil/public_html/.../routing.yml" contains unsupported keys for "sbg_survey_survey": "parent". Expected one of: "resource", "type", "pre
fix", "pattern", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition" in /home/kamil/public_html/.../routing.yml (which is be
ing imported from "/home/kamil/public_html/.../routing_dev.yml").