Threesuns

Email

Contact

All Semesters

Semesters

All Courses

Courses

Rails I

CSYS2863

3 credits

Labs

TV Episodes and Series: Part Duex

Lab

100 points

Requirements

Episodes routes are nested below the Series routes50
All controller actions and pages perform their intended function without errors50
Total100 pts

Objective

To practice with Nested Routes

Instructions

Overview

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.

Details

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.