summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-04-07 00:22:11 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-04-07 00:22:11 +0000
commitf773219426ea763ca96bdc6bf8dd5b43f9e955d8 (patch)
treec85c91ec59437383d6c1ace5fcb20a9456ff3cba
parente8e9c046af2a3625215ea2dd98bd2c2f35ce46d9 (diff)
downloadredmine-f773219426ea763ca96bdc6bf8dd5b43f9e955d8.tar.gz
redmine-f773219426ea763ca96bdc6bf8dd5b43f9e955d8.zip
fix typos of source comments at Version model
git-svn-id: http://svn.redmine.org/redmine/trunk@13062 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/version.rb b/app/models/version.rb
index 02061c548..b80f0f2d1 100644
--- a/app/models/version.rb
+++ b/app/models/version.rb
@@ -256,7 +256,7 @@ class Version < ActiveRecord::Base
# Returns the average estimated time of assigned issues
# 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
if @estimated_average.nil?
average = fixed_issues.average(:estimated_hours).to_f