Adjust order of auto-tagging and syndicating
This commit is contained in:
@@ -19,9 +19,9 @@ module Adamantium
|
|||||||
post_params = prepare_params(params: post)
|
post_params = prepare_params(params: post)
|
||||||
created_post = post_repo.create(post_params)
|
created_post = post_repo.create(post_params)
|
||||||
|
|
||||||
syndicate.call(created_post.id, post)
|
auto_tag.call
|
||||||
|
|
||||||
auto_tag.call()
|
syndicate.call(created_post.id, post)
|
||||||
|
|
||||||
# decorated_post = Decorators::Posts::Decorator.new(created_post)
|
# decorated_post = Decorators::Posts::Decorator.new(created_post)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user