Sha256: 1e7c4fa2a28876e0a811fe20ecc624569424666d725a978f704550eb38d8db1f
Contents?: true
Size: 274 Bytes
Versions: 33
Compression:
Stored size: 274 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
33 entries across 33 versions & 1 rubygems