Forum: Ruby on Rails newbie issue with routes

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5faf795443aa5f30b86a4de4f1e5ebcf?d=identicon&s=25 David Conner (dcunited001)
on 2007-07-09 18:23
i am new to all of this so bear with me.

so i am running the rails appliance that i downloaded from vmware.  it
runs rails over lighttpd.  i have the server set up so that i can see
the test app, rforum.test.  i used rails to set up a second app
'status'.  both apps are in my /www/ directory.  i have my hosts file on
my windows machine set up so that i can navigate to 'rforum.test' or
'status' and the corresponding site will be loaded.  the only problem is
that i CANT get the splash page to stop showing for the 'status' app.

i have tried deleting index.html from the public folder. that didnt
work.  i created a new index.html and when i navigate to
status/index.html, that page is displayed, but when i just navigate to
status/ the original is still displayed.

I have one controller(status) and one view(index.rhtml) created.  this
is how my routes.rb script is set:

map.connect '', :controller => 'status', :action => 'index'
map.connect ':controller/:action/:id'

is this correct or is there anything i am obvioiusly doing wrong?
Thanks
This topic is locked and can not be replied to.