diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 18d2af3174dbc0a499e4153aaa4937edb19c777d..206bafb26ee4f62b3b6909c447aad195f701363a 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