Commit 6f51fe08 authored by Chef Projet Prodige's avatar Chef Projet Prodige
Browse files

fix for OPTIONS method

parent 33b091a6
......@@ -40,6 +40,12 @@ class ExportController extends ControllerBase
public function exportXlsAction()
{
$response = new Response();
if ($this->request->isOptions()) {
$response->setStatusCode(200);
return $response;
}
$this->transformToCsv();
return $this->exportXls();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment