Skip to content

Navigation Menu

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

Appearance settings

Commit 6cb90da

Browse filesBrowse files
committed
feature #27104 [DX] Redirect to proper Symfony version documentation (noniagriconomie)
This PR was squashed before being merged into the 4.1-dev branch (closes #27104). Discussion ---------- [DX] Redirect to proper Symfony version documentation | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | none | License | MIT | Doc PR | Just a small improvement I think this can make some dev target the right documentation instead of reading an other version that the one they are developing on EDIT: I do not know if including the constant directly is the good choice, or it is better to add a global symfony version collector? Commits ------- d611160 [DX] Redirect to proper Symfony version documentation
2 parents 50fd769 + d611160 commit 6cb90da
Copy full SHA for 6cb90da

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/TwigBundle/Resources/views/layout.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Resources/views/layout.html.twig
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<h1 class="logo">{{ include('@Twig/images/symfony-logo.svg') }} Symfony Exception</h1>
1616

1717
<div class="help-link">
18-
<a href="https://symfony.com/doc">
18+
<a href="https://symfony.com/doc/{{ constant('Symfony\\Component\\HttpKernel\\Kernel::VERSION') }}/index.html">
1919
<span class="icon">{{ include('@Twig/images/icon-book.svg') }}</span>
2020
<span class="hidden-xs-down">Symfony</span> Docs
2121
</a>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.