From: Eugen Rochko Date: Wed, 13 Jul 2022 23:23:10 +0000 (+0200) Subject: Fix nil error when rendering featured hashtags on profile (#18808) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=7cda98fcae4795e55bea28b5595963e7e9e8b462;p=mastodon.git Fix nil error when rendering featured hashtags on profile (#18808) Regression from #18795 --- 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