diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-06 09:57:41 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-06 09:57:41 -0800 |
commit | cac0bd16cedbe32e5e25d099e4618ea5ac7d852f (patch) | |
tree | 3d808c19fb934c5b3d0e3bd328d63805d0a2f0d2 | |
parent | 365a34c92f7fa95605bc34ea2d5ac70da5790e9d (diff) | |
parent | 93ec400e07ffdce89f6f51ef8dd26a7b7ff04e0b (diff) | |
download | rails-cac0bd16cedbe32e5e25d099e4618ea5ac7d852f.tar.gz rails-cac0bd16cedbe32e5e25d099e4618ea5ac7d852f.tar.bz2 rails-cac0bd16cedbe32e5e25d099e4618ea5ac7d852f.zip |
Merge pull request #4327 from Karunakar/minor
removed warning because logger.warn differentiate the warings
-rw-r--r-- | actionpack/lib/action_controller/metal/request_forgery_protection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/request_forgery_protection.rb b/actionpack/lib/action_controller/metal/request_forgery_protection.rb index bc22e39efb..afa9243f02 100644 --- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb +++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb @@ -74,7 +74,7 @@ module ActionController #:nodoc: # The actual before_filter that is used. Modify this to change how you handle unverified requests. def verify_authenticity_token unless verified_request? - logger.warn "WARNING: Can't verify CSRF token authenticity" if logger + logger.warn "Can't verify CSRF token authenticity" if logger handle_unverified_request end end |