summaryrefslogtreecommitdiff
path: root/app/Controller/FileViewer.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-15 21:20:46 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-15 21:20:46 -0400
commit20052c7dd295464c7782350628701675b1f07db7 (patch)
tree5eb416262114feb864694ae05a3c04667f54f727 /app/Controller/FileViewer.php
parent4eaab1f6da1a56376a840231f7b8a10469308f97 (diff)
User import is now a popover
Diffstat (limited to 'app/Controller/FileViewer.php')
-rw-r--r--app/Controller/FileViewer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/FileViewer.php b/app/Controller/FileViewer.php
index a990e12a..52ff0d0e 100644
--- a/app/Controller/FileViewer.php
+++ b/app/Controller/FileViewer.php
@@ -123,7 +123,7 @@ class FileViewer extends BaseController
{
try {
$file = $this->getFile();
- $this->response->withDownload($file['name']);
+ $this->response->withFileDownload($file['name']);
$this->objectStorage->output($file['path']);
} catch (ObjectStorageException $e) {
$this->logger->error($e->getMessage());