Skip to content

Commit 2957e90

Browse files
committed
Merge pull request #662 from pborreli/patch-1
Fixed code format
2 parents 9eaffdd + efea9aa commit 2957e90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ there would be an overlap of method names there is a special convention to call
134134
``getAction`` and ``cgetAction``, where the ``c`` standard for collection. So the following
135135
would work as well.
136136

137-
```
137+
```php
138138
<?php
139139

140140
use FOS\RestBundle\Routing\ClassResourceInterface;
@@ -164,7 +164,7 @@ Finally its possible to override the resource name derived from the Controller n
164164
``@RouteResource`` annotation:
165165

166166

167-
```
167+
```php
168168
<?php
169169

170170
use FOS\RestBundle\Controller\Annotations\RouteResource;

0 commit comments

Comments
 (0)