5. Movies II - Routing /movies/:id


#1

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.


#2

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