lib/lorj_config.rb in lorj-1.0.9 vs lib/lorj_config.rb in lorj-1.0.10

- old
+ new

@@ -136,12 +136,13 @@ PRC::CoreConfig.define_layer(:name => 'default', :config => Lorj.defaults, :set => false, :load => true) end - def define_local_layer + def define_local_layer(latest_version = nil) PRC::CoreConfig.define_layer(:name => 'local', - :config => PRC::SectionConfig.new, + :config => \ + PRC::SectionConfig.new(nil, latest_version), :load => true, :save => true) end def define_controller_data_layer PRC::CoreConfig.define_layer :name => 'controller'