Sha256: 8356501d9f3e3e338c64a59e489f6eade3adef4e14ba43ae963ba0f7d311bfe0
Contents?: true
Size: 251 Bytes
Versions: 27
Compression:
Stored size: 251 Bytes
Contents
module Mtdevise module Constraints class SubdomainRequired # Subdomain Matching def self.matches?(request) request.subdomain.present? && request.subdomain != "www" && request.subdomain != ENV['DEPLOYED_DOMAIN'] end end end end
Version data entries
27 entries across 27 versions & 1 rubygems