Skip to content

Commit

Permalink
MAGETWO-80515: Fix 404 status header #11134
Browse files Browse the repository at this point in the history
  • Loading branch information
vrann authored Oct 6, 2017
2 parents d6f5b65 + 0601979 commit 1ef5282
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function execute()
{
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->setStatusHeader(404, '1.1', 'Forbidden');
$resultPage->setStatusHeader(404, '1.1', 'Not Found');
$resultPage->setHeader('Status', '404 File not found');
$resultPage->addHandle('adminhtml_noroute');
return $resultPage;
Expand Down

0 comments on commit 1ef5282

Please sign in to comment.