3 namespace Acme\DemoBundle\Controller
;
5 use Symfony\Bundle\FrameworkBundle\Controller\Controller
;
7 class WelcomeController
extends Controller
9 public function indexAction()
12 * The action's view can be rendered using render() method
13 * or @Template annotation as demonstrated in DemoController.
17 return $this->render('AcmeDemoBundle:Welcome:index.html.twig');