SHARE
TWEET

Untitled

a guest Jul 17th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. namespace App\Controller;
  4.  
  5. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  6. use Symfony\Component\Routing\Annotation\Route;
  7.  
  8. class HomeController extends AbstractController
  9. {
  10.     /**
  11.      * @Route("/home", name="home")
  12.      */
  13.     public function index()
  14.     {
  15.         return $this->render('home/index.html.twig', [
  16.             'controller_name' => 'HomeController',
  17.         ]);
  18.     }
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top