Forum: Ruby on Rails Default route not working?

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.
Sean H. (Guest)
on 2005-12-12 03:33
(Received via mailing list)
Hi everyone,

Did this stop working in a recent version of Rails?  I'm on 0.14.3 right
now.

  map.connect '', :controller => "personnel", :action => 'list'

When running this, shouldn't http://localhost:3000/ bring me to
http://localhost:3000/personnel/list ?

Thanks,

Sean
Kent S. (Guest)
on 2005-12-12 04:03
(Received via mailing list)
Rails will call 'personnel' controller and 'list' action. The URL will
stay
the same.

Kent.
Sean H. (Guest)
on 2005-12-12 04:36
(Received via mailing list)
Bah.  My bad.  When I upgraded at some point, the 'rails' command
re-created the index.html page.  I didn't even realize it.

Thanks!

Sean
This topic is locked and can not be replied to.