What is wrong with my code?!?! Help!!!!!!
Could you please post a link to the exercise you're on and your code in
Here's the link.
config/routes.rb, can you add
as: :destination to the end of line 4, so it looks like this:
get 'destinations/:id' => 'destinations#show', as: :destination
and see if that works
I added 'destinations/:id' => 'destinations#show', as: :destination' like you said, and now it is returning this.
I FINALLY got it o work.
But, oh my god thank you for the help anyway, it would work with the new code if I didn't have get 'destinations/:id' => 'destinations#show', as: :destination
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.