fix: Use correct endpoint company_detail_by_slug

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-01-13 15:00:55 +01:00
parent 158c305f09
commit 6593236547

View File

@ -266,7 +266,7 @@
{{ attendee.user.name or attendee.user.email.split('@')[0] }}
</span>
{% if attendee.user.company %}
<a href="{{ url_for('company_detail', slug=attendee.user.company.slug) }}" class="attendee-company">
<a href="{{ url_for('company_detail_by_slug', slug=attendee.user.company.slug) }}" class="attendee-company">
<svg fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
<path d="M19 21V5a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5m-4 0h4"></path>
</svg>