浏览代码

Merge branch '2.3'

Conflicts:
	Controller/CRUDController.php
Sullivan SENECHAL 9 年之前
父节点
当前提交
3ab67a4bd0
共有 1 个文件被更改,包括 3 次插入3 次删除
  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');