src/Controller/DefaultController.php line 16
<?php
namespace App\Controller;
use Pimcore\Bundle\AdminBundle\Controller\Admin\LoginController;
use Pimcore\Controller\FrontendController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class DefaultController extends FrontendController
{
/**
* @param Request $request
* @return Response
*/
public function defaultAction(Request $request): Response
{
return $this->render('default/default.html.twig');
}
/**
* Forwards the request to admin login
*/
public function loginAction(): Response
{
return $this->forward(LoginController::class.'::loginCheckAction');
}
}