We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2821a28 + a3a6082 commit a7910d9Copy full SHA for a7910d9
app/code/Magento/Newsletter/Controller/Subscriber/Confirm.php
@@ -32,6 +32,8 @@ public function execute()
32
}
33
34
35
- $this->getResponse()->setRedirect($this->_storeManager->getStore()->getBaseUrl());
+ $resultRedirect = $this->resultRedirectFactory->create();
36
+ $resultRedirect->setUrl($this->_storeManager->getStore()->getBaseUrl());
37
+ return $resultRedirect;
38
39
0 commit comments