diff options
author | Jamis Buck <jamis@37signals.com> | 2006-04-13 05:44:23 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2006-04-13 05:44:23 +0000 |
commit | 7a8883eee99a48737a46cd3049f7642946414a41 (patch) | |
tree | 802e8feff3b6aaeac300c1e615e8dba6a3caae7c /actionpack/lib/action_controller/scaffolding.rb | |
parent | c71607e29c4ab5cd7b4ac7d3ef902868ab1cebf7 (diff) | |
download | rails-7a8883eee99a48737a46cd3049f7642946414a41.tar.gz rails-7a8883eee99a48737a46cd3049f7642946414a41.tar.bz2 rails-7a8883eee99a48737a46cd3049f7642946414a41.zip |
Modify routing so that you can say :require => { :method => :post } for a route, and the route will never be selected unless the request method is POST. Only works for route recognition, not for route generation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/scaffolding.rb')
0 files changed, 0 insertions, 0 deletions