aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-11-30 15:18:46 -0600
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-11-30 15:18:46 -0600
commit73213f4ca7e0db8d617abfdbbc79e6d31ccb5cc7 (patch)
treef6f29c01d5bcf2f17c86bae71b769e84dfb1e6e5 /railties
parent6358e6c1078cfdbdee627a4fbde1e2b0c597af35 (diff)
downloadrails-73213f4ca7e0db8d617abfdbbc79e6d31ccb5cc7.tar.gz
rails-73213f4ca7e0db8d617abfdbbc79e6d31ccb5cc7.tar.bz2
rails-73213f4ca7e0db8d617abfdbbc79e6d31ccb5cc7.zip
Say it briefly
Diffstat (limited to 'railties')
-rw-r--r--railties/helpers/application_controller.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/railties/helpers/application_controller.rb b/railties/helpers/application_controller.rb
index ef33aa8353..6635a3f487 100644
--- a/railties/helpers/application_controller.rb
+++ b/railties/helpers/application_controller.rb
@@ -3,12 +3,8 @@
class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
+ protect_from_forgery # See ActionController::RequestForgeryProtection for details
- # See ActionController::RequestForgeryProtection for details
- protect_from_forgery
-
- # See ActionController::Base for details
- # Uncomment this to filter the contents of submitted sensitive data parameters
- # from your application log (in this case, all fields with names like "password").
+ # Scrub sensitive parameters from your log
# filter_parameter_logging :password
end