aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-06 09:57:41 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-06 09:57:41 -0800
commitcac0bd16cedbe32e5e25d099e4618ea5ac7d852f (patch)
tree3d808c19fb934c5b3d0e3bd328d63805d0a2f0d2
parent365a34c92f7fa95605bc34ea2d5ac70da5790e9d (diff)
parent93ec400e07ffdce89f6f51ef8dd26a7b7ff04e0b (diff)
downloadrails-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.rb2
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