Error: Did you add a link to your destination?


#1

<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?


6.5 Show a destination (link_to "See more")
#2

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) %>

:slightly_smiling:


#3

Thank you !! :soccer:


#4

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


#5