I’ve looked back at other lessons routing the same way and this still doesn’t work. Looks identical (other than “movies” instead of what the other one is) and throws up an error that to me says that it wants an “end” on line three.
Discovered my own mistake by copying the other lessons code and changing it to “movies”. Forgot a comma after ‘movies#show’.
get ‘/movies/:id’ => ‘movies#show’ , as: :movie
3 Likes