diff options
author | Reuben Pereira <reuben453@gmail.com> | 2018-06-30 18:49:07 +0530 |
---|---|---|
committer | Reuben Pereira <reuben453@gmail.com> | 2018-06-30 18:49:07 +0530 |
commit | 28cf16a772d359cac3eb589553b579cdc2de6ca9 (patch) | |
tree | cac06cf969a4c0274b872c782154215ed4cc3a75 /lib/banzai | |
parent | dedbb67f101153fb72385c8077fda190d7f641fc (diff) | |
download | gitlab-ce-28cf16a772d359cac3eb589553b579cdc2de6ca9.tar.gz |
Correct the comment above the projects_hash function in the project_reference_filter
Diffstat (limited to 'lib/banzai')
-rw-r--r-- | lib/banzai/filter/project_reference_filter.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/banzai/filter/project_reference_filter.rb b/lib/banzai/filter/project_reference_filter.rb index ed69f7eae92..4a162733438 100644 --- a/lib/banzai/filter/project_reference_filter.rb +++ b/lib/banzai/filter/project_reference_filter.rb @@ -64,11 +64,11 @@ module Banzai end end - # Returns a Hash containing all Namespace objects for the project + # Returns a Hash containing all Project objects for the project # references in the current document. # - # The keys of this Hash are the namespace paths, the values the - # corresponding Namespace objects. + # The keys of this Hash are the project paths, the values the + # corresponding Project objects. def projects_hash @projects ||= Project.where_full_path_in(projects) .index_by(&:full_path) |