From 28cf16a772d359cac3eb589553b579cdc2de6ca9 Mon Sep 17 00:00:00 2001 From: Reuben Pereira Date: Sat, 30 Jun 2018 18:49:07 +0530 Subject: Correct the comment above the projects_hash function in the project_reference_filter --- lib/banzai/filter/project_reference_filter.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/banzai') 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) -- cgit v1.2.1