diff options
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index f4d868874b9..3ae15f24b1f 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -159,6 +159,10 @@ class Project < ActiveRecord::Base def project_id self.id end + + def issues_labels + issues.tag_counts_on(:labels) + end end # == Schema Information |