Slight optimization in issue tree rendering.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3620 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-03-28 12:57:39 +00:00
parent 4a51f10074
commit e8729feba7
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ module IssuesHelper
ancestors.pop
end
yield issue, ancestors.size
ancestors << issue
ancestors << issue unless issue.leaf?
end
end