diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-07-14 01:23:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 01:23:10 +0200 |
commit | 6ca0de9494fe47d2c322335c3a257896140a22fb (patch) | |
tree | beb558058e08470e3c331b0d07ffabb76eaa0685 /app/models | |
parent | e7aa2be828f6a632dadd5c41e2364cea91ddbb2c (diff) |
Fix nil error when rendering featured hashtags on profile (#18808)
Regression from #18795
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/featured_tag.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/featured_tag.rb b/app/models/featured_tag.rb index c9c285bfa..201ce75f5 100644 --- a/app/models/featured_tag.rb +++ b/app/models/featured_tag.rb @@ -22,6 +22,8 @@ class FeaturedTag < ApplicationRecord before_create :set_tag before_create :reset_data + delegate :display_name, to: :tag + attr_writer :name def name |