Skip to content

Commit f6bf717

Browse files
committed
ACP2E-4001: Cancel invoice redirects to 404
1 parent 57fa254 commit f6bf717

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Sales/Controller/Adminhtml/Order/Invoice

1 file changed

+2
-1
lines changed

app/code/Magento/Sales/Controller/Adminhtml/Order/Invoice/Cancel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
*/
66
namespace Magento\Sales\Controller\Adminhtml\Order\Invoice;
77

8+
use Magento\Framework\App\Action\HttpPostActionInterface;
89
use Magento\Framework\App\Action\HttpGetActionInterface;
910
use Magento\Sales\Controller\Adminhtml\Invoice\AbstractInvoice\View;
1011

11-
class Cancel extends View implements HttpGetActionInterface
12+
class Cancel extends View implements HttpPostActionInterface, HttpGetActionInterface
1213
{
1314
/**
1415
* Authorization level of a basic admin session

0 commit comments

Comments
 (0)