Merge branch '145-document-path' into 'develop'
fix: 🐛 Missing / creates a bad url for documents
See merge request ldc-web/projets/ldc!161
This commit is contained in:
commit
fe566e9f8d
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
@if ($document->is_issuu)
|
||||
<x-front.sections.accordion.document-accordion :document='$document' />
|
||||
@else
|
||||
<a class="posts-list__item list-item-doc" href="{{ $document['path'] }}" title="{{ $document['name'] }}"
|
||||
<a class="posts-list__item list-item-doc" href="/{{ $document['path'] }}" title="{{ $document['name'] }}"
|
||||
download="" style="opacity: 1; transition: 250ms;">
|
||||
{{ $document['name'] }}
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue