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

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -