diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 9410e8d..ffcd755 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -389,7 +389,7 @@ module ApplicationHelper h(Setting.app_title) else b = [] - ancestors = (@project.root? ? [] : @project.ancestors.visible) + ancestors = (@project.root? ? [] : @project.ancestors.visible.all) if ancestors.any? root = ancestors.shift b << link_to_project(root, {:jump => current_menu_item}, :class => 'root')