lib/mtwarden/constraints/subdomain_required.rb in mtwarden-6.0.1 vs lib/mtwarden/constraints/subdomain_required.rb in mtwarden-6.1.0

- old
+ new

@@ -1,11 +1,11 @@ -module Mtwarden - module Constraints - class SubdomainRequired - - def self.matches?(request) - request.subdomain.present? && request.subdomain != "www" - end - - end - end -end +module Mtwarden + module Constraints + class SubdomainRequired + + def self.matches?(request) + request.subdomain.present? && request.subdomain != "www" + end + + end + end +end