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

View File

@@ -7,7 +7,7 @@ module Admin
include Deps["repos.trip_repo", "repos.post_repo"]
expose :trip do |id:|
trip = trip_repo.fetch(id)
trip_repo.fetch(id)
end
expose :trip_summary do |trip|