module ActionView::Helpers::SanitizeHelper::ClassMethods
def sanitized_allowed_protocols=(attributes)
end
config.action_view.sanitized_allowed_protocols = ['ssh', 'feed']
class Application < Rails::Application
Adds to the Set of allowed protocols for the +sanitize+ helper.
def sanitized_allowed_protocols=(attributes) HTML::WhiteListSanitizer.allowed_protocols.merge(attributes) end