Sha256: 999423d9e3996d4807ea045a9e94919f4ee8b1df51ec111bcd254ab2bf6eec5b
Contents?: true
Size: 461 Bytes
Versions: 6
Compression:
Stored size: 461 Bytes
Contents
module Sanitize::Rails module ActionView # :nodoc: def self.included(base) base.class_eval do # To make sure we're called *after* the method is defined undef_method :sanitize # Overrides ActionView's sanitize() helper to use +Engine#clean+ # # FIXME: Options are currently ignored. # def sanitize(string, options = {}) Engine.clean(string) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems