Split Task model into smaller classes
This commit is contained in:
@@ -72,7 +72,7 @@ class Project extends Base
|
||||
$to = $this->request->getStringParam('to');
|
||||
|
||||
if ($from && $to) {
|
||||
$data = $this->task->export($project['id'], $from, $to);
|
||||
$data = $this->taskExport->export($project['id'], $from, $to);
|
||||
$this->response->forceDownload('Export_'.date('Y_m_d_H_i_S').'.csv');
|
||||
$this->response->csv($data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user