diff --git a/app/models/featured_tag.rb b/app/models/featured_tag.rb index c9c285bfa1bfec6453285e5dea33f6964e5f0db1..201ce75f5c16b9c8f007b069f03b7f0c71fbbc00 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