feat: タグ希望タグを新規時のみにする(#128) (#145)
#128 完了 Co-authored-by: miteruzo <miteruzo@naver.com> Reviewed-on: #145
This commit was merged in pull request #145.
This commit is contained in:
@@ -57,7 +57,7 @@ class Tag < ApplicationRecord
|
||||
end
|
||||
end
|
||||
end
|
||||
tags << Tag.tagme if with_tagme && tags.size < 20 && tags.none?(Tag.tagme)
|
||||
tags << Tag.tagme if with_tagme && tags.size < 10 && tags.none?(Tag.tagme)
|
||||
tags.uniq
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user