Skip to content

Commit f4ec334

Browse files
author
roman
committed
MAGETWO-72048: Wrong file upload behavior
1 parent e52c764 commit f4ec334

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

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

8-
use Magento\Framework\App\Action\HttpPostActionInterface;
8+
use Magento\Framework\App\Action\HttpGetActionInterface;
99
use Magento\Framework\Controller\ResultFactory;
1010

1111
/**
1212
* Class Upload
1313
*
1414
* @package Magento\Downloadable\Controller\Adminhtml\Downloadable\File
1515
*/
16-
class Upload extends \Magento\Downloadable\Controller\Adminhtml\Downloadable\File implements HttpPostActionInterface
16+
class Upload extends \Magento\Downloadable\Controller\Adminhtml\Downloadable\File implements HttpGetActionInterface
1717
{
1818
/**
1919
* @var \Magento\Downloadable\Model\Link

0 commit comments

Comments
 (0)