Links Failing

In my index.html.erb file; I have the following 4 lines:

"><%= @story.name %>

"><%= @story1.name %>

<%= link_to @story.name, @story.link %>

<%= link_to @story1.name, @story1.link %>

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs