diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-11-16 21:47:58 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-11-16 21:47:58 -0600 |
commit | e02073f7daa5f374d158d2b0636f5edc5cec823f (patch) | |
tree | 5f9b1a30b4b1595b86930dc2aabb5bd28749ae4b /app/models | |
parent | 00bc2e6072a6fb55eace71eed90fa2d94a68bc2c (diff) |
Correct typo.
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb index a2d2a8f28..0dd1b07bc 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -625,8 +625,8 @@ class Status < ApplicationRecord def update_normalized_text return unless (normalized_text.blank? && !text.blank?) || saved_change_to_text? - Rails.cache.delete("formatted_status:#{status.id}") self.normalized_text = normalize_status(self) + Rails.cache.delete("formatted_status:#{id}") end def set_conversation |