Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Show messages from the message manager on the redirect index page (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian van den Berkmortel committed Aug 18, 2019
1 parent f70a7b0 commit 0d7c81e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Controller/Adminhtml/Redirect/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public function __construct(
*/
public function execute()
{
$this->_view->getPage()->getConfig()->getTitle()->prepend(__('Nginx Redirects'));
return $this->resultPageFactory->create();
$resultPage = $this->resultPageFactory->create();
$resultPage->getConfig()->getTitle()->prepend(__('Nginx Redirects'));
return $resultPage;
}
}

0 comments on commit 0d7c81e

Please sign in to comment.