6.5 Show a destination (link_to "See more")

Hello, what is wrong here?

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

<%= dest.name %>

<%= dest.description %>

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

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 :slight_smile:

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