aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2009-12-20 20:45:18 -0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2009-12-20 20:45:18 -0800
commitf9a4cf15627ba0c905bf0ab3de2b49b515ac197d (patch)
tree45eaa62bc5a84ebde8fd8a5f2d19e32eef82b0a6 /railties/lib
parent3ff9e9ee147b682cb13aed4c057e750228892f42 (diff)
downloadrails-f9a4cf15627ba0c905bf0ab3de2b49b515ac197d.tar.gz
rails-f9a4cf15627ba0c905bf0ab3de2b49b515ac197d.tar.bz2
rails-f9a4cf15627ba0c905bf0ab3de2b49b515ac197d.zip
Show the new short-form in an example
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/routes.rb b/railties/lib/rails/generators/rails/app/templates/config/routes.rb
index 635ee8d87a..0d1b6bab4f 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/routes.rb
+++ b/railties/lib/rails/generators/rails/app/templates/config/routes.rb
@@ -3,7 +3,7 @@ ActionController::Routing::Routes.draw do |map|
# first created -> highest priority.
# Sample of regular route:
- # match 'products/:id', :to => 'catalog#view'
+ # match 'products/:id' => 'catalog#view'
# Keep in mind you can assign values other than :controller and :action
# Sample of named route: