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?



--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to