about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-11-18 06:08:11 -0600
committermultiple creatures <dev@multiple-creature.party>2019-11-18 07:58:24 -0600
commitba0e07caf813ae9393403fb89681bc6e14133429 (patch)
treee4989ba4ae978cdf445626e1bb6b0a1d5e111c0c /app
parent2ac0b20c5c917d8a25fdfb6e04a56fb3fa80233f (diff)
Use `before_save` instead of `after_save`.
Diffstat (limited to 'app')
-rw-r--r--app/models/status.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index 86b4f6bb2..c1e68e2f2 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -340,7 +340,7 @@ class Status < ApplicationRecord
   after_create :set_poll_id
   after_create :process_bangtags, if: :local?
 
-  after_save :update_normalized_text
+  before_save :update_normalized_text
 
   class << self
     include SearchHelper