mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 23:55:57 +08:00
12 lines
162 B
Ruby
12 lines
162 B
Ruby
module Jobs
|
|
class PostAlert < Jobs::Base
|
|
|
|
def execute(args)
|
|
post = Post.find(args[:post_id])
|
|
PostAlerter.post_created(post)
|
|
end
|
|
|
|
end
|
|
end
|
|
|