User import is now a popover

This commit is contained in:
Frederic Guillot
2016-05-15 21:20:46 -04:00
parent 4eaab1f6da
commit 20052c7dd2
10 changed files with 80 additions and 74 deletions

View File

@@ -29,7 +29,7 @@ class Export extends BaseController
if ($from && $to) {
$data = $this->$model->$method($project['id'], $from, $to);
$this->response->withDownload($filename.'.csv');
$this->response->withFileDownload($filename.'.csv');
$this->response->csv($data);
}