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:
parent
fc042435a6
commit
605aadb3cd
|
@ -3,4 +3,5 @@
|
|||
|
||||
class ApplicationController < ActionController::Base
|
||||
helper :all # include all helpers, all the time
|
||||
protect_from_forgery
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue