2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00
discourse/app/jobs/regular/post_alert.rb
2015-04-20 13:34:57 -04:00

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