diff options
author | Xavier Noria <fxn@hashref.com> | 2010-08-17 02:37:28 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-08-17 02:37:28 +0200 |
commit | d14e2987b583a3dcb6836d310f77ce367c7396f8 (patch) | |
tree | 3469f270ec195c08718da4cde38e87cb299c4b3f /railties/lib | |
parent | c7dd49eb2a319260e8a2a69104ea2323dbfed5d9 (diff) | |
download | rails-d14e2987b583a3dcb6836d310f77ce367c7396f8.tar.gz rails-d14e2987b583a3dcb6836d310f77ce367c7396f8.tar.bz2 rails-d14e2987b583a3dcb6836d310f77ce367c7396f8.zip |
the (public) routing DSL does not accept symbols for get|post|put|delete|match
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/routes.rb | 8 |
1 files changed, 4 insertions, 4 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 d42cf3bfdf..3e35d81a69 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/routes.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/routes.rb @@ -16,12 +16,12 @@ # Sample resource route with options: # resources :products do # member do - # get :short - # post :toggle + # get 'short' + # post 'toggle' # end # # collection do - # get :sold + # get 'sold' # end # end @@ -35,7 +35,7 @@ # resources :products do # resources :comments # resources :sales do - # get :recent, :on => :collection + # get 'recent', :on => :collection # end # end |