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