Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <?php
  2.  
  3. namespace Menu\CoreBundle\Controller;
  4.  
  5. use Symfony\Bundle\FrameworkBundle\Controller\Controller;
  6. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
  7. use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
  8. use Symfony\Component\BrowserKit\Response;
  9.  
  10. class DefaultController extends Controller
  11. {
  12. /**
  13. * @Route("/")
  14. * @Template()
  15. */
  16. public function indexAction()
  17. {
  18. return $this->render(
  19. 'MenuCoreBundle:Default:index.html.twig'
  20. );
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement