Use `ref` variable

This commit is contained in:
Douwe Maan 2016-12-20 11:01:48 +00:00 committed by Douwe Maan
parent 1b6c663cb2
commit f6de2fc578
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ module Banzai
found = []
projects.each do |project|
ref = project.path_with_namespace
get_or_set_cache(cache, project.path_with_namespace) { project }
get_or_set_cache(cache, ref) { project }
found << ref
end