aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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