You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There were a few changes that we made between the end of episode 1 and the beginning of episode 2. They're minor, but they cause people issues.
If you're coding along with the screencast, you have 2 options:
When starting episode 2, use the start directory from the episode 2 download as your new starting code.
OR
Follow these instructions to download new files before starting episode2. The changes are very minor (minor routing changes and CSS changes), but affect several files:
A) Remove the following lines from src/Yoda/EventBundle/Resources/views/Event/index.html.twig - these were just put there for testing and playing with items, but we don't need them::
There were a few changes that we made between the end of episode 1 and the beginning of episode 2. They're minor, but they cause people issues.
If you're coding along with the screencast, you have 2 options:
start
directory from the episode 2 download as your new starting code.OR
CSS/JS Changes
A) Replace your
base.html.twig
with https://raw.github.com/knpuniversity/symfony2-ep2/master/start/app/Resources/views/base.html.twigB) Replace your
src/Yoda/EventBundle/Resources/views/layout.html.twig
with https://github.com/knpuniversity/symfony2-ep2/blob/master/start/src/Yoda/EventBundle/Resources/views/layout.html.twigC) Replace your
src/Yoda/EventBundle/Resources/public/css/main.css
with https://github.com/knpuniversity/symfony2-ep2/blob/master/start/src/Yoda/EventBundle/Resources/public/css/main.cssRouting Changes
A) Replace your
src/Yoda/EventBundle/Resources/config/routing.yml
with https://github.com/knpuniversity/symfony2-ep2/blob/master/start/src/Yoda/EventBundle/Resources/config/routing.ymlB) Replace your
src/Yoda/EventBundle/Resources/config/routing/event.yml
with https://github.com/knpuniversity/symfony2-ep2/blob/master/start/src/Yoda/EventBundle/Resources/config/routing/event.ymlC) Replace your
src/Yoda/EventBundle/Controller/EventController.php
with https://github.com/knpuniversity/symfony2-ep2/blob/master/start/src/Yoda/EventBundle/Controller/EventController.phpOther
A) Remove the following lines from
src/Yoda/EventBundle/Resources/views/Event/index.html.twig
- these were just put there for testing and playing with items, but we don't need them::The text was updated successfully, but these errors were encountered: