Standard
This commit is contained in:
@@ -16,11 +16,11 @@ module Admin
|
||||
.commit
|
||||
|
||||
next if posts
|
||||
.post_tags
|
||||
.where(
|
||||
post_id: post_id,
|
||||
tag_id: tag[:id]
|
||||
).count > 0
|
||||
.post_tags
|
||||
.where(
|
||||
post_id: post_id,
|
||||
tag_id: tag[:id]
|
||||
).count > 0
|
||||
|
||||
posts.post_tags.changeset(:create, {
|
||||
post_id: post_id,
|
||||
|
Reference in New Issue
Block a user