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