Forum: Ruby on Rails link_to wrong path...

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sketchy (Guest)
on 2007-08-02 22:50
(Received via mailing list)
HI guys, I'm starting with RoR and I figured I'd jump on the facebook
bandwagon and make a little application... my problem is when using
link_to inside my application I get wrong paths... Let's say my
application url is and my application is
hosted at (main being my controller). The
problem is that when I use scaffold my links have the wrong path. For
example, <%= link_to 'Edit', :action => 'edit', :id => torrent %> give
me a link to and not to how can I change this?
This topic is locked and can not be replied to.