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

- 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