forked from GNUsocial/gnu-social
[COMPONENTS][Attachment] Fixed typo on attachmentShowWithNote, where the template called was somehow replaced with a child of it
This commit is contained in:
@@ -89,7 +89,7 @@ class Attachment extends Controller
|
||||
try {
|
||||
return $this->attachment($attachment_id, $note_id, function ($res) use ($note_id, $attachment_id) {
|
||||
return [
|
||||
'_template' => '/cards/attachments/view.html.twig',
|
||||
'_template' => '/cards/attachments/show.html.twig',
|
||||
'download' => $res['attachment']->getDownloadUrl(note: $note_id),
|
||||
'title' => $res['title'],
|
||||
'attachment' => $res['attachment'],
|
||||
|
Reference in New Issue
Block a user