Skip to content

Commit

Permalink
Fix 404 status header
Browse files Browse the repository at this point in the history
  • Loading branch information
Zifius authored and Alexander Turiak committed Sep 29, 2017
1 parent 9c14af7 commit 70379e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,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 70379e3

Please sign in to comment.