Skip to content

Commit ed9ddfc

Browse files
committed
One too many
1 parent 93f1578 commit ed9ddfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/doc/5-automatic-route-generation_single-restful-controller.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ use FOS\RestBundle\Controller\Annotations\Route;
287287

288288
For everyone who wants to change pluralization in generated routes, you can do this by replacing "fos_rest.service.inflector" service with your implementation of "fos_rest.inflector.doctrine" service by creating new class that implements "FOS\RestBundle\Util\Inflector\InflectorInterface", than define service of this class with name e.g. "my_fos_rest.inflector.doctrine" and simply set parameter in config.yml.
289289

290-
The example below will remove pluralization by implementing the interface and returning the "$word" instead of executing method ````Inflector::pluralize($word);```
290+
The example below will remove pluralization by implementing the interface and returning the "$word" instead of executing method ```Inflector::pluralize($word);```
291291

292292
Define your service in config.yml
293293
```

0 commit comments

Comments
 (0)