This commit is contained in:
2023-11-15 08:05:18 +11:00
parent 74c766ee01
commit 730ecb9ea4
3 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ module Adamantium
/[a-z]/.match?(grouper) ? grouper : "#"
}
.sort
.map { |group, tags| {group: group, tags: tags.map {|tag| {tag: tag, count: tag.posts.count} }} }
.map { |group, tags| {group: group, tags: tags.map { |tag| {tag: tag, count: tag.posts.count} }} }
end
end
end