>
> Thanks. Yes, I think there is a problem with the routs. I'm creating the
> application from scratch though, and this is where I'm at:
> http://www.ruby-forum.com/topic/214614#931504
>

The Rails 3 equivalent would be
root :to => 'pages#home'

That is assuming you get the pages controller with the home action working
properly in the other thread!

-Patrick Robertson

On Sun, Aug 8, 2010 at 6:41 PM, Abder-Rahman Ali <li...@ruby-forum.com>wrote:

> Patrick Robertson wrote:
> > Ensure that something is mapped to the root path. In rails 2.3 it would
> > be something like this in config/routes.rb:
> >
> > map.root, :controller => "home"
> >
> > Sent from my iPhone
>
> Thanks. Yes, I think there is a problem with the routs. I'm creating the
> application from scratch though, and this is where I'm at:
> http://www.ruby-forum.com/topic/214614#931504
> --
> 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-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@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-t...@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