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 -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -