Commit 28cf16a7 authored by Reuben Pereira's avatar Reuben Pereira

Correct the comment above the projects_hash function in the project_reference_filter

parent dedbb67f
...@@ -64,11 +64,11 @@ module Banzai ...@@ -64,11 +64,11 @@ module Banzai
end end
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. # references in the current document.
# #
# The keys of this Hash are the namespace paths, the values the # The keys of this Hash are the project paths, the values the
# corresponding Namespace objects. # corresponding Project objects.
def projects_hash def projects_hash
@projects ||= Project.where_full_path_in(projects) @projects ||= Project.where_full_path_in(projects)
.index_by(&:full_path) .index_by(&:full_path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment