On Sat, May 7, 2011 at 9:27 PM, 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
>
> When I open it I keep getting: Routing Error No route matches "/"
>

Hmmm it sounds like you might be getting sent elsewhere. Is there anotehr
:root entry in your routes? As well, do you have both an home/index.html.erb
view as well as an index action in your controller? Also, is there any other
code you have added to the app such as in the application controller which
might be redirecting you?


>
> --
> 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.

Reply via email to