Skip to content
Snippets Groups Projects
Commit 2107dfb6 authored by Anton Kaplya's avatar Anton Kaplya
Browse files

MAGETWO-47402: All type products are available

parent 55a536a9
Branches
No related merge requests found
...@@ -30,12 +30,10 @@ class Design ...@@ -30,12 +30,10 @@ class Design
* @return mixed * @return mixed
* @SuppressWarnings(PHPMD.UnusedFormalParameter) * @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/ */
public function aroundDispatch( public function beforeDispatch(
\Magento\Framework\App\ActionInterface $subject, \Magento\Framework\App\ActionInterface $subject,
\Closure $proceed,
\Magento\Framework\App\RequestInterface $request \Magento\Framework\App\RequestInterface $request
) { ) {
$this->_designLoader->load(); $this->_designLoader->load();
return $proceed($request);
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment