lib/troy/site.rb in troy-0.0.19 vs lib/troy/site.rb in troy-0.0.20

- old
+ new

@@ -58,10 +58,10 @@ FileUtils.rm_rf(root.join("public")) end # # - def export_pages(file) + def export_pages(file = nil) file = File.expand_path(file) if file pages .select {|page| file.nil? || page.path == file } .each(&:save)