Project Challenge: Associations and Routes

Create the appropriate associations between your models and configure your routes.

We'll cover the following

Problem statement

In this challenge, you need to do the following:

  1. Create an association between your Link and Comment model. You need to figure out the relation between the models.
  2. Configure the routes for comments. Use all the RESTful routes. Your comments resource should be nested inside your links resource.

Use comment routesCommentRoutes to configure your views.


Implementation

Get hands-on with 1200+ tech skills courses.