aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/note_fragment.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/note_fragment.php')
-rw-r--r--routes/note_fragment.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/routes/note_fragment.php b/routes/note_fragment.php
index ac7927c..94ebc07 100644
--- a/routes/note_fragment.php
+++ b/routes/note_fragment.php
@@ -105,7 +105,7 @@ Router::getInstance()->mount('/fragment/note/:id/reply', function (array $args)
$reply->processTimelineAdditions();
$reply->processNotifications();
}
- render_template('reply_form', ['note' => $note]);
+ render_template('note/reply_form', ['note' => $note]);
});
Router::getInstance()->mount('/fragment/note', function (array $args) {
@@ -147,7 +147,7 @@ Router::getInstance()->mount('/fragment/note', function (array $args) {
$note->processTimelineAdditions();
$note->processNotifications();
}
- render_template('write_note_form', ['actor' => $author->actor]);
+ render_template('note/write_form', ['actor' => $author->actor]);
});
Router::getInstance()->mount('/fragment/note/mentionPill', function (array $args) {
@@ -175,7 +175,7 @@ Router::getInstance()->mount('/fragment/note/attachmentPill', function (array $a
// TODO: allow other providers
$obj = StorageObject::createFromUpload(FilesystemStorage::class, $_FILES['file']);
$type = $obj->isImage() ? 'image' : 'file';
- render_template('attachment_pill', [
+ render_template('note/attachment_pill', [
'type' => $type,
'oid' => $obj->oid,
'name' => $obj->filename,