Browse files

removed warning because logger.warn differentiate the warings

  • Loading branch information...
Karunakar committed Jan 5, 2012
1 parent f63fff6 commit 93ec400e07ffdce89f6f51ef8dd26a7b7ff04e0b
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/request_forgery_protection.rb
@@ -74,7 +74,7 @@ def protect_from_forgery(options = {})
# 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

0 comments on commit 93ec400

Please sign in to comment.