In my index.html.erb file; I have the following 4 lines:
<p><a href "<%= @story.link %>"><%= @story.name %></a><p>
<p><a href "<%= @story1.link %>"><%= @story1.name %></a><p>
<p><%= link_to @story.name, @story.link %></p>
<p><%= link_to @story1.name, @story1.link %></p>
The first two lines have the incorrect link in them, pointing to
localhost:3000/story
The next two lines on the other hand have the correct links; so I'm
wondering what might cause this isue?
···
--
Posted via http://www.ruby-forum.com/.