Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Links Failing
Harp Oon
1/7/2008 2:00:00 AM
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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Links Failing
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password