lib/webgen/path_handler/virtual.rb in webgen-1.2.1 vs lib/webgen/path_handler/virtual.rb in webgen-1.3.0
- old
+ new
@@ -45,9 +45,10 @@
entry_path['handler'] = 'directory'
@website.ext.path_handler.create_secondary_nodes(entry_path)
else
entry_path[:virtual] = true
entry_path['handler'] = 'virtual'
+ entry_path['node_class'] ||= Webgen::PathHandler::Base::Node.to_s
@website.ext.path_handler.create_secondary_nodes(entry_path)
end
end
nil