discourse/app/jobs/regular/post_alert.rb

12 lines
162 B
Ruby
Raw Normal View History

2015-04-20 13:34:57 -04:00
module Jobs
class PostAlert < Jobs::Base
def execute(args)
post = Post.find(args[:post_id])
PostAlerter.post_created(post)
end
end
end