[DX] Redirect to proper Symfony version documentation

This commit is contained in:
Antoine M 2018-04-30 23:41:54 +02:00 committed by Fabien Potencier
parent 1f98e31da2
commit d611160ec6

View File

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