aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorKarunakar (Ruby) <revurikarna@gmail.com>2012-01-05 23:42:58 +0530
committerKarunakar (Ruby) <revurikarna@gmail.com>2012-01-05 23:42:58 +0530
commit93ec400e07ffdce89f6f51ef8dd26a7b7ff04e0b (patch)
treeb6f4484ffd5dc9908d4f053496bb8f768fb4852e /actionpack
parentf63fff6a8492b32c5e44202b938ce5d9600faa2a (diff)
downloadrails-93ec400e07ffdce89f6f51ef8dd26a7b7ff04e0b.tar.gz
rails-93ec400e07ffdce89f6f51ef8dd26a7b7ff04e0b.tar.bz2
rails-93ec400e07ffdce89f6f51ef8dd26a7b7ff04e0b.zip
removed warning because logger.warn differentiate the warings
Diffstat (limited to 'actionpack')
-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