Where I fault ? help me


<%= @tag.title %>

<div class="cards row">

  To do: Loop through destinations and display each one with this HTML
  <div class="card col-xs-4">
    destination's image goes here
    <h2> destination's name goes here </h2>
    <p> destination's description goes here </p>
  <% @destinations.each do |d| %>
  <div class="card col-xs-4">
    <%= image_tag destination.image %>
    <h2><%= destination.name %></h2>
    <p><%= destination.description %></p>
    <p><%= link_to "See more", destination_path(d) %></p>
    <p><%= link_to "Edit" , edit_destination %></p>
  <% end %>

this is error message “did you add edit link”

Hi Ecln30,

It seems that you’re frequently creating duplicate topics when you ask a question. Creating duplicate topics is annoying to everyone who gets a notification when a new topic is created and people who aren’t sure which topic to reply to, and takes up space on the Discuss servers.
You also need to format your code if you’d like help. It’s usually nearly impossible to help without seeing code, and leaving it unformatted disrespects potential answerers’ time.

Please note that continuing this sort of behavior will result in a suspension.