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 http://apps.facebook.com/app/ and my application is hosted at http://someserver.com/main/ (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 http://apps.facebook.com/main/edit/1 and not to http://apps.facebook.com/app/main/edit/1. how can I change this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---