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, 5 insertions, 1 deletions
diff --git a/railties/configs/routes.rb b/railties/configs/routes.rb
index 7bd368b108..0b6d80a174 100644
--- a/railties/configs/routes.rb
+++ b/railties/configs/routes.rb
@@ -6,10 +6,14 @@ ActionController::Routing::Routes.draw do |map|
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'
# Keep in mind you can assign values other than :controller and :action
+ # You can have the root of your site routed by hooking up ''
+ # -- just remember to delete public/index.html.
+ # map.connect '', :controller => "welcome"
+
# Allow downloading Web Service WSDL as a file with an extension
# instead of a file named 'wsdl'
map.connect ':controller/service.wsdl', :action => 'wsdl'
-
+
# Install the default route as the lowest priority.
map.connect ':controller/:action/:id'
end