From 6d7335752ac51a959ce2ad203e74665d8f768956 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 20 Mar 2006 05:40:42 +0000 Subject: Comments, comments git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/scaffolding.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack') 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 -- cgit v1.2.3