about summary refs log tree commit diff
path: root/app/models/concerns/domain_normalizable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/domain_normalizable.rb')
-rw-r--r--app/models/concerns/domain_normalizable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/domain_normalizable.rb b/app/models/concerns/domain_normalizable.rb
index c00b3142f..fb84058fc 100644
--- a/app/models/concerns/domain_normalizable.rb
+++ b/app/models/concerns/domain_normalizable.rb
@@ -4,7 +4,7 @@ module DomainNormalizable
   extend ActiveSupport::Concern
 
   included do
-    before_save :normalize_domain
+    before_validation :normalize_domain
   end
 
   private