File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
app/code/Magento/ImportExport/Controller/Adminhtml/Export/File Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class Delete extends ExportController implements HttpGetActionInterface
25
25
/**
26
26
* url to this controller
27
27
*/
28
- const URL = 'admin /export_file/delete ' ;
28
+ const URL = 'adminhtml /export_file/delete ' ;
29
29
30
30
/**
31
31
* @var Filesystem
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class Download extends ExportController implements HttpGetActionInterface
23
23
/**
24
24
* url to this controller
25
25
*/
26
- const URL = 'admin /export_file/download/ ' ;
26
+ const URL = 'adminhtml /export_file/download/ ' ;
27
27
28
28
/**
29
29
* @var FileFactory
@@ -72,6 +72,7 @@ public function execute()
72
72
DirectoryList::VAR_DIR
73
73
);
74
74
}
75
+ // phpcs:ignore Magento2.Exceptions.ThrowCatch
75
76
} catch (LocalizedException | \Exception $ exception ) {
76
77
throw new LocalizedException (__ ('There are no export file with such name %1 ' , $ fileName ));
77
78
}
You can’t perform that action at this time.
0 commit comments