From 1b1e77c728e575a110e204e142e81bdff2737536 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 27 Jun 2012 21:20:35 +0300 Subject: Issue Labels: Edit, show, index + filter --- app/helpers/issues_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/helpers/issues_helper.rb') diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 31d862ef725..148048a9698 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -33,4 +33,8 @@ module IssuesHelper classes << " today" if issue.today? classes end + + def issue_tags + @project.issues.tag_counts_on(:labels).map(&:name) + end end -- cgit v1.2.1