I had to use:
myusermanagement: type : rest resource: "@Bundle/Resources/config/routing.yml"
in app/config/routing.yml. Notice the 'type: rest'. Without that, I get the error:
he routing file "/vagrant/src/Bundle/Resources/config/routing.yml" contains unsupported keys for "twitter": "na me_prefix". Expected one of: "resource", "type", "prefix", "pattern", "path", "host", "schemes", "methods", "defaults", "requirem ents", "options", "condition" in /vagrant/src/Bundle/Resources/config/routing.yml (which is being imported from "/vagrant /app/config/routing.yml").
I had to use:
myusermanagement:
type : rest
resource: "@Bundle/Resources/config/routing.yml"
in app/config/routing.yml. Notice the 'type: rest'. Without that, I get the error:
he routing file "/vagrant/src/Bundle/Resources/config/routing.yml" contains unsupported keys for "twitter": "na
me_prefix". Expected one of: "resource", "type", "prefix", "pattern", "path", "host", "schemes", "methods", "defaults", "requirem
ents", "options", "condition" in /vagrant/src/Bundle/Resources/config/routing.yml (which is being imported from "/vagrant
/app/config/routing.yml").