Skip to content

Commit 648d7d8

Browse files
author
roman
committed
MAGETWO-72048: Wrong file upload behavior
1 parent bed8e88 commit 648d7d8

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Downloadable/Controller/Adminhtml/Downloadable/File

1 file changed

+2
-1
lines changed

app/code/Magento/Downloadable/Controller/Adminhtml/Downloadable/File/Upload.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
*/
66
namespace Magento\Downloadable\Controller\Adminhtml\Downloadable\File;
77

8+
use Magento\Framework\App\Action\HttpPostActionInterface;
89
use Magento\Framework\Controller\ResultFactory;
910

1011
/**
1112
* Class Upload
1213
*
1314
* @package Magento\Downloadable\Controller\Adminhtml\Downloadable\File
1415
*/
15-
class Upload extends \Magento\Downloadable\Controller\Adminhtml\Downloadable\File
16+
class Upload extends \Magento\Downloadable\Controller\Adminhtml\Downloadable\File implements HttpPostActionInterface
1617
{
1718
/**
1819
* @var \Magento\Downloadable\Model\Link

0 commit comments

Comments
 (0)