Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Fix for bug 1024493
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Gupta committed Oct 29, 2013
1 parent 45398eb commit e2f2c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/app/models/application.rb
Expand Up @@ -138,7 +138,7 @@ def self.with_gear_counts
a['gears'] = (a['group_instances'] || []).inject({}) do |h, i|
p = i['gear_size'] || a['default_gear_size']
h[p] ||= 0
h[p] += i['gears'].length
h[p] += i['gears'].length unless i['gears'].nil?
h
end
a.delete 'group_instances'
Expand Down

0 comments on commit e2f2c3d

Please sign in to comment.