summaryrefslogtreecommitdiff
path: root/app/Controller/UserImport.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/UserImport.php')
-rw-r--r--app/Controller/UserImport.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/UserImport.php b/app/Controller/UserImport.php
index debd69e5..b99e56a0 100644
--- a/app/Controller/UserImport.php
+++ b/app/Controller/UserImport.php
@@ -10,7 +10,7 @@ use Kanboard\Core\Csv;
* @package controller
* @author Frederic Guillot
*/
-class UserImport extends Base
+class UserImport extends BaseController
{
/**
* Upload the file and ask settings
@@ -60,7 +60,7 @@ class UserImport extends Base
*/
public function template()
{
- $this->response->forceDownload('users.csv');
+ $this->response->withDownload('users.csv');
$this->response->csv(array($this->userImport->getColumnMapping()));
}
}