Skip to content

Commit 312cd80

Browse files
committed
MAGETWO-96385: Deleting address on frontend redirects to 404 Page
1 parent 1a805d0 commit 312cd80

File tree

1 file changed

+6
-1
lines changed
  • app/code/Magento/Customer/Controller/Address

1 file changed

+6
-1
lines changed

app/code/Magento/Customer/Controller/Address/Delete.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@
66
*/
77
namespace Magento\Customer\Controller\Address;
88

9+
use Magento\Framework\App\Action\HttpGetActionInterface;
910
use Magento\Framework\App\Action\HttpPostActionInterface;
1011

11-
class Delete extends \Magento\Customer\Controller\Address implements HttpPostActionInterface
12+
/**
13+
* Delete customer address controller action.
14+
*/
15+
class Delete extends \Magento\Customer\Controller\Address implements HttpPostActionInterface, HttpGetActionInterface
1216
{
1317
/**
18+
* @inheritdoc
1419
* @return \Magento\Framework\Controller\Result\Redirect
1520
*/
1621
public function execute()

0 commit comments

Comments
 (0)