lib/docman/deployers/deployer.rb in docman-0.0.18 vs lib/docman/deployers/deployer.rb in docman-0.0.19
- old
+ new
@@ -149,10 +149,10 @@
end
def build_recursive(info = nil)
info = info ? info : @docroot_config.structure
build_dir(info)
- info['children'].each do |child|
+ info['children'].sort.map do |key, child|
build_recursive(child)
end
end
def build_dir(info)
\ No newline at end of file