lib/mtwarden/constraints/subdomain_required.rb in mtwarden-3.3.4 vs lib/mtwarden/constraints/subdomain_required.rb in mtwarden-3.5.0
- old
+ new
@@ -1,9 +1,9 @@
module Mtwarden
- module Constraints
- class SubdomainRequired
- def self.matches?(request)
- request.subdomain.present? && request.subdomain != "www"
- end
- end
- end
+ module Constraints
+ class SubdomainRequired
+ def self.matches?(request)
+ request.subdomain.present? && request.subdomain != "www"
+ end
+ end
+ end
end