method
link_sanitizer
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActionView::Helpers::SanitizeHelper::ClassMethods
link_sanitizer()
public
Gets the Rails::HTML::LinkSanitizer instance used by strip_links. Replace with any object that responds to sanitize.
class Application < Rails::Application config.action_view.link_sanitizer = MySpecialSanitizer.new end