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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -