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:
Toshi MARUYAMA 2014-04-07 00:22:11 +00:00
parent e8e9c046af
commit f773219426
1 changed files with 1 additions and 1 deletions

View File

@ -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