fix typos of source comments at Version model
git-svn-id: http://svn.redmine.org/redmine/trunk@13062 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e8e9c046af
commit
f773219426
|
@ -256,7 +256,7 @@ class Version < ActiveRecord::Base
|
||||||
|
|
||||||
# Returns the average estimated time of assigned issues
|
# Returns the average estimated time of assigned issues
|
||||||
# or 1 if no issue has an estimated time
|
# or 1 if no issue has an estimated time
|
||||||
# Used to weigth unestimated issues in progress calculation
|
# Used to weight unestimated issues in progress calculation
|
||||||
def estimated_average
|
def estimated_average
|
||||||
if @estimated_average.nil?
|
if @estimated_average.nil?
|
||||||
average = fixed_issues.average(:estimated_hours).to_f
|
average = fixed_issues.average(:estimated_hours).to_f
|
||||||
|
|
Loading…
Reference in New Issue