Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
prodige
bdl_visualiseur_core
Commits
6f51fe08
Commit
6f51fe08
authored
Jun 29, 2022
by
Chef Projet Prodige
Browse files
fix for OPTIONS method
parent
33b091a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Controllers/ExportController.php
View file @
6f51fe08
...
...
@@ -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
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment