about summary refs log tree commit diff
path: root/app/models/concerns
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-08-12 23:01:19 +0200
committerGitHub <noreply@github.com>2019-08-12 23:01:19 +0200
commitcf421bafdf644f8c8a44b4f06f82841cbd568cdf (patch)
tree4d1f3b2c9bdcadcf0fe53372a75ba54c0c06875a /app/models/concerns
parentaa485d6f055b93fd7a9df8b47ed96122b38af39e (diff)
parentcfca28bc874125e63e7e1a3c96d94bd5a7eca108 (diff)
Merge pull request #1196 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/models/concerns')
-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 fb84058fc..c00b3142f 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_validation :normalize_domain
+    before_save :normalize_domain
   end
 
   private