<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Annotation\Route;
class IndexController extends AbstractController
{
/**
* @Route("/", name="index")
*/
public function index(Request $request)
{
return $this->redirectToRoute('easyadmin');
return $this->render('index/index.html.twig');
}
/**
* @Route("/privacy_policy", name="privacy_policy")
*/
public function privacyPolicy(Request $request)
{
return $this->render('index/privacy_policy.html.twig');
}
/**
* @Route("/terms_and_conditions", name="terms_and_conditions")
*/
public function termsAndConditions(Request $request)
{
return $this->render('index/terms_and_conditions.html.twig');
}
}