1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 22:38:27 +09:00

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

Regression from #18795
This commit is contained in:
Eugen Rochko 2022-07-14 01:23:10 +02:00 committed by GitHub
parent e7aa2be828
commit 6ca0de9494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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