[#369] fix error "undefined method iterate_path2"
This commit is contained in:
parent
66e21de2b7
commit
e18cc43867
|
@ -40,7 +40,7 @@ json.breadcrumb do
|
|||
paths = File.split(@path)
|
||||
if paths.size > 1 and paths.first != '.'
|
||||
json.paths do
|
||||
json.array! iterate_path2(paths.first).each do |el|
|
||||
json.array! iterate_path(paths.first).each do |el|
|
||||
json.path el.first
|
||||
json.name el.last
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue