Slight optimization in issue tree rendering.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3620 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 15 years ago
parent 4a51f10074
commit e8729feba7
  1. 2
      app/helpers/issues_helper.rb

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

Loading…
Cancel
Save