Bruno Carlos Caetano Santos
unread,May 20, 2018, 8:17:42 PM5/20/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Symfony Brasil
Estou tentando aprender symfony 3 utilizando um curso da Pluralsight mas de início já estou enfrentando dificuldades para simplesmente criar um bundle novo. Utilizei o comando bin/console generate:bundle para criar um "EventBundle", o comando aparentemente concluíu com sucesso, mas que a aplicação agora dá esse erro:
Unable to find template "EventBundle:Default:index.html.twig" (looked into: /var/www/html/starwarsevents/app/Resources/views, /var/www/html/starwarsevents/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form).
O EventBundle está sendo criado no AppKernel corretamente:
$bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new AppBundle\AppBundle(),
new EventBundle\EventBundle(),
];
O que mais preciso fazer?
Agradeço a ajuda.