aboutsummaryrefslogtreecommitdiffstats
path: root/railties/configs/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/configs/routes.rb')
-rw-r--r--railties/configs/routes.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/railties/configs/routes.rb b/railties/configs/routes.rb
index 1e11b65dae..ee6ff5d3dd 100644
--- a/railties/configs/routes.rb
+++ b/railties/configs/routes.rb
@@ -15,8 +15,10 @@ ActionController::Routing::Routes.draw do |map|
# 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.