Fix nil error when rendering featured hashtags on profile (#18808)
Regression from #18795remotes/1703361221475462875/rebase/4.0.0rc1
parent
e7aa2be828
commit
6ca0de9494
|
@ -22,6 +22,8 @@ class FeaturedTag < ApplicationRecord
|
||||||
before_create :set_tag
|
before_create :set_tag
|
||||||
before_create :reset_data
|
before_create :reset_data
|
||||||
|
|
||||||
|
delegate :display_name, to: :tag
|
||||||
|
|
||||||
attr_writer :name
|
attr_writer :name
|
||||||
|
|
||||||
def name
|
def name
|
||||||
|
|
Loading…
Reference in New Issue