dynarex-blog 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-blog.rb +1 -1
- metadata +1 -1
data/lib/dynarex-blog.rb
CHANGED
@@ -342,7 +342,7 @@ class DynarexBlog
|
|
342
342
|
lookup = '_entry_lookup.xml'
|
343
343
|
doc = Document.new File.open(@file_path + lookup,'r').read
|
344
344
|
page = select_page(doc, 1)
|
345
|
-
doc_index.root.add XPath.first(page, 'records')
|
345
|
+
doc_index.root.add XPath.first(page.root, 'records')
|
346
346
|
|
347
347
|
File.open(@file_path + 'index.xml', 'w'){|f| doc_index.write f}
|
348
348
|
@index = Dynarex.new @file_path + 'index.xml'
|