method
sanitized_bad_tags=
v2.2.1 -
Show latest stable
- Class:
ActionView::Helpers::SanitizeHelper::ClassMethods
sanitized_bad_tags=(attributes)public
Adds to the Set of ‘bad’ tags for the sanitize helper.
Rails::Initializer.run do |config| config.action_view.sanitized_bad_tags = 'embed', 'object' end