0
0
Fork 0

Change featured tag updates to add/remove activity (#19409)

* Change featured tag updates to add/remove activity

* Fix to check for the existence of feature tag

* Rename service and worker

* Merge AddHashtagSerializer with AddSerializer

* Undo removal of sidekiq_options
This commit is contained in:
Takeshi Umeda 2022-10-23 01:30:55 +09:00 committed by GitHub
parent 73a48318a1
commit 74ead7d106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 117 additions and 15 deletions

View file

@ -30,6 +30,10 @@ class FeaturedTag < ApplicationRecord
LIMIT = 10
def sign?
true
end
def name
tag_id.present? ? tag.name : @name
end