Fix nil error when rendering featured hashtags on profile (#18808)

Regression from #18795
lolsob-rspec
Eugen Rochko 2022-07-14 01:23:10 +02:00 committed by GitHub
parent 38d04135bf
commit 57cf1c5a98
1 changed files with 2 additions and 0 deletions

View File

@ -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