jobs: migrate related tag updates to ActiveJob.
This commit is contained in:
7
app/jobs/update_related_tags_job.rb
Normal file
7
app/jobs/update_related_tags_job.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class UpdateRelatedTagsJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform(tag)
|
||||
tag.update_related
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user