link_sanitizer() public

Gets the HTML::LinkSanitizer instance used by strip_links. Replace with any object that responds to sanitize.

  Rails::Initializer.run do |config|
    config.action_view.link_sanitizer = MySpecialSanitizer.new
  end
Show source
Register or log in to add new notes.