I follow tutorial in here (http://npmasters.com/2012/11/25/Symfony2-Rest-FOSRestBundle.html) about using FOSRestBundle.
When setting up the route, I get error :
Cannot import resource "D:\xampp\htdocs\SymRestTestApp\src\Per\RestBundle/Resources/config/routing.yml" from "D:/xampp/htdocs/SymRestTestApp/app/config\routing.yml".
My app/config/routing.yml
per_rest:
resource: "@PerRestBundle/Controller"
type: annotation
prefix: /
per:
type: rest
resource: "@PerRestBundle/Resources/config/routing.yml"
My Per/RestBundle/Resources/config/routing.yml:
organisation:
type: rest
resource: Per\RestBundle\Controller\OrganisationController
user:
type: rest
parent: organisation
resource: Per\RestBundle\Controller\UserController
Anyone experience this issue? How to fixed this error?