mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 16:21:24 -05:00
11 lines
162 B
Ruby
11 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
|
|
|