diff --git a/lib/internal/Magento/Framework/App/Action/Plugin/Design.php b/lib/internal/Magento/Framework/App/Action/Plugin/Design.php index 5bb0556fe640d3d0c23bda0da6c790dba69d2dba..84eb05feb1b732fd0ae73e19ff3b3b9ec56955de 100644 --- a/lib/internal/Magento/Framework/App/Action/Plugin/Design.php +++ b/lib/internal/Magento/Framework/App/Action/Plugin/Design.php @@ -30,12 +30,10 @@ class Design * @return mixed * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ - public function aroundDispatch( + public function beforeDispatch( \Magento\Framework\App\ActionInterface $subject, - \Closure $proceed, \Magento\Framework\App\RequestInterface $request ) { $this->_designLoader->load(); - return $proceed($request); } }