Skip to content

Commit

Permalink
dont include forks in sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Sep 1, 2016
1 parent 0d8c439 commit 307a7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/sitemap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
end
end

GithubRepository.open_source.not_removed.find_each do |repo|
GithubRepository.open_source.source.not_removed.find_each do |repo|
add github_repository_path(repo.owner_name, repo.project_name), :lastmod => repo.updated_at
add github_repository_contributors_path(repo.owner_name, repo.project_name), :lastmod => repo.updated_at
add github_repository_forks_path(repo.owner_name, repo.project_name), :lastmod => repo.updated_at
Expand Down

0 comments on commit 307a7e3

Please sign in to comment.