aboutsummaryrefslogblamecommitdiffhomepage
path: root/src/Acme/DemoBundle/Controller/WelcomeController.php
blob: 884f95bb54f22e988a9b3b1a7990b3f2d21f01e6 (plain) (tree)


















                                                                       
<?php

namespace Acme\DemoBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class WelcomeController extends Controller
{
    public function indexAction()
    {
        /*
         * The action's view can be rendered using render() method
         * or @Template annotation as demonstrated in DemoController.
         *
         */

        return $this->render('AcmeDemoBundle:Welcome:index.html.twig');
    }
}