Ok, I created my rails application called "word". It consists of:
controllers/application.rb (empty, whatever the default is)
controllers/word.rb (my project)
views/index.rhtml (my view)
If I go to localhost:3000, I see the "welcome to rails" page.
If I go to localhost:3000/word/, I get my application.
How do I make my application the root by itself, without the /word/ at
the end?
I think this is a fairly straightforward issue where I'm overlooking
something, but it is causing me a lot of problems when deploying the
application on a web server (same problem, larger scale).
Ok, I created my rails application called "word". It consists of:
controllers/application.rb (empty, whatever the default is)
controllers/word.rb (my project)
views/index.rhtml (my view)
If I go to localhost:3000, I see the "welcome to rails" page.
If I go to localhost:3000/word/, I get my application.
How do I make my application the root by itself, without the /word/ at
the end?
I think this is a fairly straightforward issue where I'm overlooking
something, but it is causing me a lot of problems when deploying the
application on a web server (same problem, larger scale).
Did you read that "welcome to rails" page? Last paragraph should tell
you how to do this.