diff options
author | George Andrinopoulos <geoandri@gmail.com> | 2017-11-10 23:18:42 +0300 |
---|---|---|
committer | George Andrinopoulos <geoandri@gmail.com> | 2017-11-11 17:47:39 +0300 |
commit | 8f6b3d7452447b5ef6c669c2ff5ad3b394e27dea (patch) | |
tree | b57276b55ed85b7ab4a33444b1b5db1cc621b9d4 /app/models/concerns/milestoneish.rb | |
parent | 46cacbe5cfa69b1ae63ce8b669bc9d9f06676ea2 (diff) |
Add externalized strings
Diffstat (limited to 'app/models/concerns/milestoneish.rb')
-rw-r--r-- | app/models/concerns/milestoneish.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/milestoneish.rb b/app/models/concerns/milestoneish.rb index 7fe55f8402f..7026f565706 100644 --- a/app/models/concerns/milestoneish.rb +++ b/app/models/concerns/milestoneish.rb @@ -87,7 +87,7 @@ module Milestoneish end def total_issue_time_spent - issues.joins(:timelogs).sum(:time_spent) + @total_issue_time_spent ||= issues.joins(:timelogs).sum(:time_spent) end def human_total_issue_time_spent |