partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

IndexController.php (471B)


      1 <?php
      2 
      3 namespace PartKeepr\MobileFrontendBundle\Controller;
      4 
      5 use Symfony\Component\Routing\Annotation\Route;
      6 
      7 class IndexController extends \PartKeepr\FrontendBundle\Controller\IndexController
      8 {
      9     /**
     10      * This is basically a copy of the PartKeepr's legacy index.php.
     11      *
     12      * @Route("/mobile/")
     13      */
     14     public function indexAction()
     15     {
     16         return $this->render('PartKeeprMobileFrontendBundle::index.html.twig', $this->getRenderParameters());
     17     }
     18 }