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