Default route not working?


#1

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


#2

Rails will call ‘personnel’ controller and ‘list’ action. The URL will
stay
the same.

Kent.


#3

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