Skip to content

Commit 39bba1c

Browse files
committed
Merge remote-tracking branch 'github-magento2ce/MAGETWO-99509' into EPAM-PR-56
2 parents dc674e9 + 94e1cbd commit 39bba1c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/ImportExport/Controller/Adminhtml/Export/File/Delete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Delete extends ExportController implements HttpGetActionInterface
2525
/**
2626
* url to this controller
2727
*/
28-
const URL = 'admin/export_file/delete';
28+
const URL = 'adminhtml/export_file/delete';
2929

3030
/**
3131
* @var Filesystem

app/code/Magento/ImportExport/Controller/Adminhtml/Export/File/Download.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Download extends ExportController implements HttpGetActionInterface
2323
/**
2424
* url to this controller
2525
*/
26-
const URL = 'admin/export_file/download/';
26+
const URL = 'adminhtml/export_file/download/';
2727

2828
/**
2929
* @var FileFactory
@@ -72,6 +72,7 @@ public function execute()
7272
DirectoryList::VAR_DIR
7373
);
7474
}
75+
// phpcs:ignore Magento2.Exceptions.ThrowCatch
7576
} catch (LocalizedException | \Exception $exception) {
7677
throw new LocalizedException(__('There are no export file with such name %1', $fileName));
7778
}

0 commit comments

Comments
 (0)