Skip to content

Commit ae59c72

Browse files
authored
Merge pull request #5051 from alphagov/fix-names
Fix names in repos by team and type
2 parents ab2839f + 3594ea8 commit ae59c72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/repos/by-team-and-type.html.md.erb

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ title: All GOV.UK repositories by team and type
1010

1111
Check [All GOV.UK repositories](/repos.html) for a condensed breakdown.
1212

13-
<% Repos.active.group_by(&:team).sort.map { |(team, type_and_repos_by_type)| [team, type_and_repos_by_type.group_by(&:type).sort] }.each do |team, repos_by_type| %>
13+
<% Repos.active.group_by(&:team).sort.map { |team, repos| [team, repos.group_by(&:type).sort] }.each do |team, repos_by_type| %>
1414
## <%= team %>
1515

1616
| Type | Count | Repos |
1717
| --- | --- | --- |
18-
<% repos_by_type.each do |name, repos| %>
19-
| # <%= name %> | <%= repos.count %> | <%= repos.map { |repo| "[#{repo.repo_name}](/repos/#{repo.repo_name}.html)" }.join(", ") %> |
18+
<% repos_by_type.each do |type, repos| %>
19+
| # <%= type %> | <%= repos.count %> | <%= repos.map { |repo| "[#{repo.repo_name}](/repos/#{repo.repo_name}.html)" }.join(", ") %> |
2020
<% end %>
2121
<% end %>

0 commit comments

Comments
 (0)