Permalink
Browse files

Comments, comments

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
dhh committed Mar 20, 2006
1 parent faecde0 commit 6d7335752ac51a959ce2ad203e74665d8f768956
Showing with 3 additions and 0 deletions.
  1. +3 −0 actionpack/lib/action_controller/scaffolding.rb
@@ -17,6 +17,9 @@ def self.append_features(base)
# 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

0 comments on commit 6d73357

Please sign in to comment.