breadcrumbs_helper.rb revision 24a2b8c64527664fef34cb4e20bc7ef946c247eb
path ||= ''
result = [{
last: false,
path: fancy_repository_path(repository, path: nil, ref: oid)
}]
crumbs.each_with_index do | c, i |
result << {
name: c,
last: false,
}
end
result.last[:last] = true
end
end