Sfoglia il codice sorgente

Merge branch '2.3'

Conflicts:
	Controller/CRUDController.php
Sullivan SENECHAL 9 anni fa
parent
commit
3ab67a4bd0
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      Controller/CRUDController.php

+ 3 - 3
Controller/CRUDController.php

@@ -1024,15 +1024,15 @@ class CRUDController extends Controller
     /**
      * Export data to specified format.
      *
+     * @param Request $reques
+     *
      * @return Response
      *
      * @throws AccessDeniedException If access is not granted
      * @throws \RuntimeException     If the export format is invalid
      */
-    public function exportAction()
+    public function exportAction(Request $request)
     {
-        $request = $this->getRequest();
-
         $this->admin->checkAccess('export');
 
         $format = $request->get('format');