Sha256: f6201fa346c36a17b79b33bd61e162dbf10ef6e900a9f97cad4fca173b0d42fe
Contents?: true
Size: 419 Bytes
Versions: 67
Compression:
Stored size: 419 Bytes
Contents
module Kernel module_function alias_method :jets_original_require, :require # @param path [String] # @return [Boolean] def require(path) # Hack to prevent Rails const from being defined # Actionview requires "rails-html-sanitizer" and that creates a Rails module path = "jets-html-sanitizer" if path == "rails-html-sanitizer" && !ENV['JETS_RAILS_CONST'] jets_original_require(path) end end
Version data entries
67 entries across 67 versions & 2 rubygems