Rails I
3 credits
Episodes routes are nested below the Series routes | 50 |
All controller actions and pages perform their intended function without errors | 50 |
Total | 100 pts |
To practice with Nested Routes
For this lab you will simply be modifying your previous Episodes and Series lab so that the episode routes are nested below the series of which it's a part.
You'll need to remove the show action and page that had previously been created for series and instead use the index page for the series' episodes. It should then be possible to view all of the episodes for each individual series in isolation from other series' episodes and you should be able to add new episodes to a series without having to specify which series an episode belongs to on the new episode page.