diff --git a/Controller/Adminhtml/Redirect/Index.php b/Controller/Adminhtml/Redirect/Index.php index 0dc6c1d..55a7138 100644 --- a/Controller/Adminhtml/Redirect/Index.php +++ b/Controller/Adminhtml/Redirect/Index.php @@ -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; } }