Skip to content

Commit 522ffad

Browse files
committed
ACP2E-4001: Cancel invoice redirects to 404
1 parent 4f82be7 commit 522ffad

File tree

1 file changed

+4
-5
lines changed
  • app/code/Magento/Sales/Controller/Adminhtml/Order/Invoice

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<?php
22
/**
3-
*
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
3+
* Copyright 2014 Adobe
4+
* All Rights Reserved.
65
*/
76
namespace Magento\Sales\Controller\Adminhtml\Order\Invoice;
87

9-
use Magento\Framework\App\Action\HttpPostActionInterface;
8+
use Magento\Framework\App\Action\HttpGetActionInterface;
109
use Magento\Sales\Controller\Adminhtml\Invoice\AbstractInvoice\View;
1110

12-
class Cancel extends View implements HttpPostActionInterface
11+
class Cancel extends View implements HttpGetActionInterface
1312
{
1413
/**
1514
* Authorization level of a basic admin session

0 commit comments

Comments
 (0)