Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit138957e

Browse files
committed
minor#14512 Minor: Use Twig code block (OskarStark)
This PR was merged into the 4.4 branch.Discussion----------Minor: Use Twig code blockthis way it can easily be copied<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/releases for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `5.x` for features of unreleased versions).-->Commits-------2e848b4 Minor: Use Twig code block
2 parentsb7cb730 +2e848b4 commit138957e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎routing.rst‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,8 +2266,11 @@ generating the route::
22662266

22672267
$this->generateUrl('blog_show', ['slug' => 'slug-value']);
22682268

2269-
// or, in Twig
2270-
// {{ path('blog_show', {slug: 'slug-value'}) }}
2269+
or, in Twig:
2270+
2271+
..code-block::twig
2272+
2273+
{{ path('blog_show', {slug: 'slug-value'}) }}
22712274
22722275
Learn more about Routing
22732276
------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp