use username

This commit is contained in:
jannisp 2021-04-23 15:06:41 +02:00
parent 5a32d90adc
commit d74c283830
6 changed files with 58 additions and 8 deletions

View file

@ -9,12 +9,6 @@
</style>
<div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1>
This friendly message is coming from:
<ul>
<li>Your controller at <code><a href="{{ '/home/thisfro/repos/plant-exchange/src/Controller/AppController.php'|file_link(0) }}">src/Controller/AppController.php</a></code></li>
<li>Your template at <code><a href="{{ '/home/thisfro/repos/plant-exchange/templates/app/index.html.twig'|file_link(0) }}">templates/app/index.html.twig</a></code></li>
</ul>
<h1>Hello {{ user.username }}!</h1>
</div>
{% endblock %}