diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2009-12-20 20:45:18 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2009-12-20 20:45:18 -0800 |
commit | f9a4cf15627ba0c905bf0ab3de2b49b515ac197d (patch) | |
tree | 45eaa62bc5a84ebde8fd8a5f2d19e32eef82b0a6 | |
parent | 3ff9e9ee147b682cb13aed4c057e750228892f42 (diff) | |
download | rails-f9a4cf15627ba0c905bf0ab3de2b49b515ac197d.tar.gz rails-f9a4cf15627ba0c905bf0ab3de2b49b515ac197d.tar.bz2 rails-f9a4cf15627ba0c905bf0ab3de2b49b515ac197d.zip |
Show the new short-form in an example
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/routes.rb | 2 |
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: |