changes
This commit is contained in:
7
app/models/jobs/calculate_post_count.rb
Normal file
7
app/models/jobs/calculate_post_count.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module Jobs
|
||||
class CalculatePostCount < Struct.new(:tag_name)
|
||||
def perform
|
||||
Tag.recalculate_post_count(tag_name)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user