diff --git a/app/AppKernel.php b/app/AppKernel.php index c5c9eb6..6095a0e 100755 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -16,6 +16,7 @@ public function registerBundles() new Symfony\Bundle\AsseticBundle\AsseticBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), + new \AppBundle\AppBundle() ); if (in_array($this->getEnvironment(), array('dev', 'test'))) { diff --git a/app/Resources/views/appDemo.html.twig b/app/Resources/views/appDemo.html.twig new file mode 100644 index 0000000..37d8675 --- /dev/null +++ b/app/Resources/views/appDemo.html.twig @@ -0,0 +1 @@ +Hola mundo \ No newline at end of file diff --git a/src/AppBundle/AppBundle.php b/src/AppBundle/AppBundle.php new file mode 100644 index 0000000..05123b6 --- /dev/null +++ b/src/AppBundle/AppBundle.php @@ -0,0 +1,9 @@ +render('appDemo.html.twig'); + } +} \ No newline at end of file