diff --git a/src/Controller/MediasController.php b/src/Controller/MediasController.php index f5bb2f8..f8f59b7 100644 --- a/src/Controller/MediasController.php +++ b/src/Controller/MediasController.php @@ -154,7 +154,7 @@ public function upload($ref, $refId) $id = isset($this->request->query['id']) ? $this->request->query['id'] : false; $this->set(\compact('media', 'thumbID', 'editor', 'id')); $this->viewBuilder()->layout('json'); - $this->render('media'); + $this->render('media2'); } /**