| Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-catalog/Controller/Index/ |
| Current File : /var/www/clients/client3/web2/web/vendor/magento/module-catalog/Controller/Index/Index.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Controller\Index;
use Magento\Framework\App\Action\HttpGetActionInterface;
/**
* Catalog index page controller.
*/
class Index extends \Magento\Framework\App\Action\Action implements HttpGetActionInterface
{
/**
* Index action
*
* @return \Magento\Framework\Controller\Result\Redirect
*/
public function execute()
{
$resultRedirect = $this->resultRedirectFactory->create();
return $resultRedirect->setPath('/');
}
}