Run rubocop on all files

This commit is contained in:
2023-06-08 21:57:54 +10:00
parent 6a2bc82e3b
commit 9d9d8ccf6d
65 changed files with 114 additions and 158 deletions

View File

@@ -30,4 +30,4 @@ module Adamantium
end
end
end
end
end

View File

@@ -48,13 +48,12 @@ module Adamantium
end
def auto_tag_post(post_id:, tag_id:)
return 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

View File

@@ -8,4 +8,4 @@ module Adamantium
end
end
end
end
end