aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-03-20 05:40:42 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-03-20 05:40:42 +0000
commit6d7335752ac51a959ce2ad203e74665d8f768956 (patch)
tree534d8a2cd1639771939ab6e8342cc459c6169a86 /actionpack/lib
parentfaecde0ec8c82637ce691fffd7e45e0c623865ba (diff)
downloadrails-6d7335752ac51a959ce2ad203e74665d8f768956.tar.gz
rails-6d7335752ac51a959ce2ad203e74665d8f768956.tar.bz2
rails-6d7335752ac51a959ce2ad203e74665d8f768956.zip
Comments, comments
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/scaffolding.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/scaffolding.rb b/actionpack/lib/action_controller/scaffolding.rb
index 8b5554c266..2481107aa7 100644
--- a/actionpack/lib/action_controller/scaffolding.rb
+++ b/actionpack/lib/action_controller/scaffolding.rb
@@ -17,6 +17,9 @@ module ActionController
# This tiny piece of code will add all of the following methods to the controller:
#
# class WeblogController < ActionController::Base
+ # verify :method => :post, :only => [ :destroy, :create, :update ],
+ # :redirect_to => { :action => :list }
+ #
# def index
# list
# end