correcting API use, avoid history glitch

This commit is contained in:
El RIDO
2019-06-01 23:49:40 +02:00
parent ebbb850b27
commit a459c4692c
4 changed files with 5 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ class Paste extends AbstractModel
$data['comments'] = array_values($this->getComments());
$data['comment_count'] = count($data['comments']);
$data['comment_offset'] = 0;
$data['@context'] = 'js/paste.jsonld';
$data['@context'] = '?jsonld=paste';
$this->_data = $data;
return $this->_data;