Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Menu\CoreBundle\Controller;
- use Symfony\Bundle\FrameworkBundle\Controller\Controller;
- use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
- use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
- use Symfony\Component\BrowserKit\Response;
- class DefaultController extends Controller
- {
- /**
- * @Route("/")
- * @Template()
- */
- public function indexAction()
- {
- return $this->render(
- 'MenuCoreBundle:Default:index.html.twig'
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement