The instructions tell me this: “In the routes file, add another route to send requests to URLs like /movies/1 to the Movie controller’s show action. Use as: to name this route “movie”.” And I did, but it keeps return in the error: “/movies/1 should lead to movies#show” Please help!!!
Hi @suttonjd19,
:id
means any ID number, which is what they want. /movies/1
was an example, so if you remove the 1
so it looks like this instead, it should work :
get '/movies/:id' # ...
1 Like
Oooooh. I thought that /movies/1 was a required part, well thank you.
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.