src/Bidcoz/Bundle/FrontendBundle/Controller/LegalController.php line 48

Open in your IDE?
  1. <?php
  2. namespace Bidcoz\Bundle\FrontendBundle\Controller;
  3. use Bidcoz\Bundle\CoreBundle\Controller\CoreController;
  4. use Symfony\Component\Routing\Annotation\Route;
  5. /**
  6.  * @Route("/legal")
  7.  */
  8. class LegalController extends CoreController
  9. {
  10.     /**
  11.      * @Route("/privacy", name="legal_privacy")
  12.      */
  13.     public function privacyAction()
  14.     {
  15.         return $this->render('@BidcozFrontend/Marketing/Legal/privacy.html.twig');
  16.     }
  17.     /**
  18.      * @Route("/organization-terms", name="legal_organization_terms")
  19.      */
  20.     public function termsAction()
  21.     {
  22.         $config $this->getActiveConfiguration();
  23.         return $this->render('@BidcozFrontend/Marketing/Legal/organization-terms.html.twig', [
  24.             'terms' => $config->getOrganizationTerms(),
  25.         ]);
  26.     }
  27.     /**
  28.      * @Route("/user-terms", name="legal_user_terms")
  29.      */
  30.     public function userTermsAction()
  31.     {
  32.         $config $this->getActiveConfiguration();
  33.         return $this->render('@BidcozFrontend/Marketing/Legal/user-terms.html.twig', [
  34.             'terms' => $config->getUserTerms(),
  35.         ]);
  36.     }
  37.     /**
  38.      * @Route("/dmca", name="legal_dmca")
  39.      */
  40.     public function dmcaAction()
  41.     {
  42.         return $this->render('@BidcozFrontend/Marketing/Legal/dmca.html.twig');
  43.     }
  44. }