I'm following the tutorial here:
http://edgeguides.rubyonrails.org/getting_started.html

And, so far, I have the following in the routes.rb file:

get "home/index"
resources :posts
root :to => "home#index"

I know what "root :to => "home#index" is.

But, what is the use of the following, what do they mean?

get "home/index"
resources :posts

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

Reply via email to