app/models/radiant/exporter.rb in radiant-exporter-extension-1.0.2 vs app/models/radiant/exporter.rb in radiant-exporter-extension-1.0.3
- old
+ new
@@ -1,4 +1,9 @@
+if RUBY_VERSION > "1.9"
+ require "yaml"
+ YAML::ENGINE.yamler = "syck"
+end
+
module Radiant
class Exporter
cattr_accessor :exportable_models
@@exportable_models = [Radiant::Config, User, Page, PagePart, PageField, Snippet, Layout]
cattr_accessor :template_models
\ No newline at end of file