In my app I say go to /companies/index for a modal box. Locally it runs fine because it sees /public as the root. When I put it on the server I have an alias mapped for the root. when I goto the url above it goes to the root of the server which id obviously not going to be correct. If I go to companies/index it goes to /rootofcurrentcontroller/ companies which does not work either. How do I get it to recognize that /companies/index is the root of the rails app?
on 2009-05-11 19:13
on 2009-05-18 23:22