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.
1 parent d73a46e commit 4c55787Copy full SHA for 4c55787
app/code/Magento/Email/Controller/Adminhtml/Email/Template/Popup.php
@@ -42,12 +42,12 @@ public function __construct(
42
* Load the page defined in view/adminhtml/layout/adminhtml_email_template_popup.xml
43
*
44
* @return \Magento\Framework\View\Result\Page
45
- * @throws \Magento\Framework\Exception\NotFoundException
46
*/
47
public function execute()
48
{
49
if (!$this->getRequest()->isPost()) {
50
- throw new \Magento\Framework\Exception\NotFoundException(__('Page not found.'));
+ $this->_forward('noroute');
+ return;
51
}
52
53
return $this->resultPageFactory->create();
0 commit comments