First, rename the index.html file to something else. Then:
map.root :controller => 'subject', :action => 'list' - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) On Thu, May 28, 2009 at 6:06 PM, Mk 27 <[email protected]> wrote: > > Hi gang! > > I want / to point to app/subject/list instead of public/index.html. I > added this to routes.rb > > map.connect ':controller/:action/:id', :controller => 'subject', :action > => 'list' > > But that does not work... > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

