class TinyMCE::Rails::Engine
def self.normalize_host(host)
def self.normalize_host(host) if host =~ /^https?:\/\// || host =~ /^\/\// host else # Use a protocol-relative URL if not otherwise specified "//#{host}" end end
def self.normalize_host(host) if host =~ /^https?:\/\// || host =~ /^\/\// host else # Use a protocol-relative URL if not otherwise specified "//#{host}" end end