Include sub-resources example

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2007-04-29 14:05:34 +00:00
parent 4ef9ad8653
commit 6ffa68e9eb

@ -15,8 +15,10 @@
# Sample resource route with options:
# map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }
# You can have the root of your site routed with map.root
# -- just remember to delete public/index.html.
# Sample resource route with sub-resources:
# map.resources :products, :has_many => [ :comments, :sales ], :has_ony => :seller
# You can have the root of your site routed with map.root -- just remember to delete public/index.html.
# map.root :controller => "welcome"
# Install the default routes as the lowest priority.