Error: Did you add a link to your destination?

<div class="header">
  <div class="container">
    <img src="http://s3.amazonaws.com/codecademy-content/courses/learn-rails/img/logo-1tm.svg" width="80">
    <h1>BokenjiKan</h1>
  </div>
</div>

<div class="destination">
  <div class="container">
    <div class="row">
      <div class="col-xs-12">
				
          <%= image_tag @destination.image %>
          <%= @destination.name %>
          <%= @destination.description%>
        	<%= link_to "See more", @destination_path(@destination) %>
      	
      </div>
    </div>
  </div>
</div> 

Error : Did you add the link to the destination?

Hi Kamaliqlaas,

There shouldn’t be a link before destination_path. Make that line look like this instead:

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

:slight_smile:

1 Like

Thank you !! :soccer:

1 Like

A post was split to a new topic: An error in this exercise