mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
Fix lint
This commit is contained in:
parent
c4de082790
commit
ec68fa3075
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ module Middleman
|
||||||
Contract ArrayOf[Or[Symbol, Num]] => Maybe[DataCollectionPathVertex::DATA_TYPE]
|
Contract ArrayOf[Or[Symbol, Num]] => Maybe[DataCollectionPathVertex::DATA_TYPE]
|
||||||
def lookup_path(path)
|
def lookup_path(path)
|
||||||
path.reduce(@controller) do |sum, part|
|
path.reduce(@controller) do |sum, part|
|
||||||
part === :__full_access__ ? sum : sum[part]
|
part == :__full_access__ ? sum : sum[part]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue