protect new rails apps from csrf by default.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Rick Olson 2007-09-24 18:11:59 +00:00
parent fc042435a6
commit 605aadb3cd
1 changed files with 1 additions and 0 deletions

View File

@ -3,4 +3,5 @@
class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
protect_from_forgery
end