symfony - FosRestBundle Route generation with CamelCase class -
i have slight problem on of controllers.
the entity api is called: myentity
naturally controller called: myentitycontroller
if define action: public function getmyentity($id)
route generated called: /mys/:id/entitys
how define controller in way route becomes /my-entities/:id
?
why don't define route manually way want?: http://symfony.com/doc/current/bundles/fosrestbundle/7-manual-route-definition.html
Comments
Post a Comment