Skip to content

Commit

Permalink
[Adhesion] fix redirect route parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano committed Nov 1, 2024
1 parent cd499a6 commit 6fa397b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/renaissance/adhesion/finish.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
</p>
{% endif %}

{% set parameters = (type is same as('readhesion')) ? { state: '/profil' } : null %}
{% set parameters = (type is same as('readhesion')) ? { state: '/profil' } : [] %}
<twig:ReButton tag="a" href="{{ path('vox_app_redirect', parameters) }}" class="w-full" >
Accéder à mon espace
</twig:ReButton>
Expand Down

0 comments on commit 6fa397b

Please sign in to comment.