diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 18d2af317..206bafb26 100644 --- a/app/helpers/issues_helper.rb +++ b/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