{% if app.debug %} Dev app {# #}

Ó£ÌÒÊÓÆµ

Article

{% endif %}
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
  • Logged in as {{ app.user.displayname }}
  • {% if is_granted('ROLE_MENU') %}
  • Main menu{% endif %}
  • Logout
{# {% elseif app.request.get('_route') != 'login' %} #} {# #} {% endif %} {# {{ directpath('profile.preview', {'profileid' : 14}) }}
{{ url('profile.preview', {'profileid' : 14}) }}
{{ path('profile.preview', {'profileid' : 14}) }} #} {# {% if message %}
{{ message }}
{% endif %} #} {% block content %}{% endblock %}
{% if app.debug %}
{# #} {# #} {% endif %}