Skip to content

Commit 59a73f5

Browse files
committed
minor #7632 Fix minor code format (yceruto)
This PR was merged into the 3.2 branch. Discussion ---------- Fix minor code format Indeed, show route annotation here (this require SensioFrameworkExtraBundle) is out of Routing component scope, this topic shouldn't be moved to http://symfony.com/doc/3.2/routing.html instead? Commits ------- 634fadd Fix minor code format
2 parents 246a392 + 634fadd commit 59a73f5

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

components/routing.rst

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,7 @@ routes with UTF-8 characters:
370370
class DefaultController extends Controller
371371
{
372372
/**
373-
*
374373
* @Route("/category/{name}", name="route1", options={"utf8": true})
375-
*
376374
*/
377375
public function categoryAction()
378376
{
@@ -446,15 +444,13 @@ You can also include UTF-8 strings as routing requirements:
446444
class DefaultController extends Controller
447445
{
448446
/**
449-
*
450-
* @Route(
451-
* "/category/{name}",
452-
* name="route2",
453-
* requirements={"default"="한국어"},
454-
* options={"utf8": true}
455-
* )
456-
*
457-
*/
447+
* @Route(
448+
* "/category/{name}",
449+
* name="route2",
450+
* requirements={"default"="한국어"},
451+
* options={"utf8": true}
452+
* )
453+
*/
458454
public function defaultAction()
459455
{
460456
// ...

0 commit comments

Comments
 (0)