1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Updated html-scanner deprecation message.

This commit is contained in:
Timm 2013-10-12 12:41:09 +02:00
parent 83f1563ee6
commit 50347b15fe

View file

@ -1,7 +1,7 @@
require 'active_support/deprecation'
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/html-scanner"
ActiveSupport::Deprecation.warn("html-scanner has been deprecated in favor of using Loofah in SanitizeHelper and ActionView::Assertions.")
ActiveSupport::Deprecation.warn("html-scanner has been deprecated in favor of using Loofah in SanitizeHelper and Rails::Dom::Testing::Assertions.")
module HTML
extend ActiveSupport::Autoload