Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/navigation/doc.rb')
-rw-r--r--lib/gitlab/navigation/doc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/navigation/doc.rb b/lib/gitlab/navigation/doc.rb
index 27c75d7d..cdb3540c 100644
--- a/lib/gitlab/navigation/doc.rb
+++ b/lib/gitlab/navigation/doc.rb
@@ -30,7 +30,7 @@ module Gitlab
end
def children
- @children ||= doc.fetch(:docs, []).map { |doc| Doc.new(doc) }
+ @children ||= doc.fetch(:docs, []).map { |nested_doc| Doc.new(nested_doc) }
end
private