diff --git a/middleman-core/lib/middleman-core/dependencies/vertices/data_collection_path_vertex.rb b/middleman-core/lib/middleman-core/dependencies/vertices/data_collection_path_vertex.rb index 775b8e66..02e54bd6 100644 --- a/middleman-core/lib/middleman-core/dependencies/vertices/data_collection_path_vertex.rb +++ b/middleman-core/lib/middleman-core/dependencies/vertices/data_collection_path_vertex.rb @@ -58,7 +58,7 @@ module Middleman Contract ArrayOf[Or[Symbol, Num]] => Maybe[DataCollectionPathVertex::DATA_TYPE] def lookup_path(path) path.reduce(@controller) do |sum, part| - part === :__full_access__ ? sum : sum[part] + part == :__full_access__ ? sum : sum[part] end end