comparison app/helpers/projects_helper.rb @ 1503:523f55b47b98 cannam

Whoops, call the right method why not
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 21 Mar 2014 13:13:52 +0000
parents 467282ce64a4
children fb773fcf9af8
comparison
equal deleted inserted replaced
1502:cadec15c77d5 1503:523f55b47b98
290 phash 290 phash
291 end 291 end
292 292
293 def top_level_maturity_scores() 293 def top_level_maturity_scores()
294 phash = Hash.new 294 phash = Hash.new
295 pp = Project.root_visible_by(User.anonymous) 295 pp = Project.visible_roots(User.anonymous)
296 pp.each do |p| 296 pp.each do |p|
297 phash[p] = score_maturity p 297 phash[p] = score_maturity p
298 end 298 end
299 phash 299 phash
300 end 300 end