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:
parent
4a51f10074
commit
e8729feba7
|
@ -25,7 +25,7 @@ module IssuesHelper
|
|||
ancestors.pop
|
||||
end
|
||||
yield issue, ancestors.size
|
||||
ancestors << issue
|
||||
ancestors << issue unless issue.leaf?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue