map.connect '/', :controller=>'ads', :action=>'index this is working fine now thanx
On Dec 3, 12:23 pm, Sniper Abandon <[email protected]> wrote: > kiran wrote in post #965887: > > > HI, > > now my question is how to set a root so that when i visit > >http://localhost:3000 > > the list of adds shoulb be displayed.. > > i already tried map.connect > > '/', :controller=>'ads', :action=>'index' but it did not worked.. > > please give any suggestion... > > delete "public/index.html" from project_path > > -- > Posted viahttp://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.

