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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -