[#369] fix error "undefined method iterate_path2"

This commit is contained in:
Alexander Machehin 2014-07-09 16:10:35 +06:00
parent 66e21de2b7
commit e18cc43867
1 changed files with 1 additions and 1 deletions

View File

@ -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