On 8 May 2011 03:27, Mohamed L. <li...@ruby-forum.com> wrote: > Hey, I'm trying to sort out the routing still, I've generated a home > controller, deleted the public/index.html and changed the routes.rb to > have :root to=> "home#index" and I have changed the html code in > app\view\home\index
It should just be root, not :root so root :to => "home#index" Colin > > When I open it I keep getting: Routing Error No route matches "/" > > -- > 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 rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.