Skip to content

Commit 3b808c0

Browse files
author
Johnny Robeson
committed
reword expression language sentence(s)
In the current documentation it shows the word json in the rendered output due to the fenced code blocks not starting a line. I'm not sure how this sentence should really be worded or if you really want it look like a snippet you'd place in your composer.json. If so, then you probably wanna change this in a different way. I also rewrote the expression language sentence itself, because i had trouble parsing it.
1 parent b7f01fe commit 3b808c0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Resources/doc/annotations-reference.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,8 @@ RestBundle extends the [@Route](http://symfony.com/doc/current/bundles/SensioFra
8585

8686
@Delete @Get @Head @Link @Patch @Post @Put @Unlink have the same options as @Route
8787

88-
With ```json
89-
"symfony/routing": "~2.4"
90-
``` or with ```json
91-
"symfony/symfony": "~2.4"
92-
```
93-
you have a expression-language components and have condition capability with annotation (see: [Routing Conditions](http://symfony.com/doc/current/book/routing.html#book-routing-conditions))
88+
When using `symfony/routing:>=2.4` (or the full framework) you have access to the expression language component and can
89+
add conditions to your routing configuration with annotations (see: [Routing Conditions](http://symfony.com/doc/current/book/routing.html#book-routing-conditions)).
9490

9591
example syntax:
9692

0 commit comments

Comments
 (0)