Add the posts that need to be reviewed to the hamburger

This commit is contained in:
Robin Ward
2015-04-10 16:29:13 -04:00
parent 7f501a0c41
commit f1ede42569
8 changed files with 44 additions and 5 deletions

View File

@@ -43,6 +43,8 @@ class NewPostManager
enqueuer = PostEnqueuer.new(@user, queue)
post = enqueuer.enqueue(@args)
QueuedPost.publish_new! if post && post.errors.empty?
result.check_errors_from(enqueuer)
result
end