lib/docman/docroot_config.rb in docman-0.0.89 vs lib/docman/docroot_config.rb in docman-0.0.90
- old
+ new
@@ -95,11 +95,11 @@
i['root'] = @root
@names[name.to_s] = i
unless children_components_config.nil?
- children_components_config['components'].each {|name, config|
- children << structure_build_from_config_file(children_components_config, prefix, i, name)
+ children_components_config['components'].each {|child_name, child_config|
+ children << structure_build_from_config_file(children_components_config, prefix, i, child_name)
}
end
i
end