6.5 Show a destination (link_to "See more")


#1

Hello, what is wrong here?
...


<% @destinations.each do |dest| %>


<%= dest.name %>


<%= dest.description %>


<%= link_to "See more", destination_path(dest) %>

<% end %>


#2

Hi Vitaliufl,

Please see this post on how to format your code so it's visible:

...then post your code again, but properly formatted so we can look through it and find the problem :slightly_smiling:


#3

A post was split to a new topic: Error: Did you add a link to your destination?