Skip to content

Commit 1f3eac5

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Minor tweaks Update templates.rst
2 parents 3f60eed + d19515c commit 1f3eac5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

templates.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,9 @@ provided by Symfony:
513513
# the path of the template to render
514514
template: 'static/privacy.html.twig'
515515
516+
# the response status code (default: 200)
517+
statusCode: 200
518+
516519
# special options defined by Symfony to set the page cache
517520
maxAge: 86400
518521
sharedAge: 86400
@@ -539,6 +542,9 @@ provided by Symfony:
539542
<!-- the path of the template to render -->
540543
<default key="template">static/privacy.html.twig</default>
541544
545+
<!-- the response status code (default: 200) -->
546+
<default key="statusCode">200</default>
547+
542548
<!-- special options defined by Symfony to set the page cache -->
543549
<default key="maxAge">86400</default>
544550
<default key="sharedAge">86400</default>
@@ -567,6 +573,9 @@ provided by Symfony:
567573
// the path of the template to render
568574
'template' => 'static/privacy.html.twig',
569575
576+
// the response status code (default: 200)
577+
'statusCode' => 200,
578+
570579
// special options defined by Symfony to set the page cache
571580
'maxAge' => 86400,
572581
'sharedAge' => 86400,

0 commit comments

Comments
 (0)