diff options
author | Saku Ytti <saku@ytti.fi> | 2013-04-19 12:36:45 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2013-04-19 12:41:29 +0300 |
commit | 96668cc2dc0367e3d1a3ec94265ce889b62d8ada (patch) | |
tree | 340f92a6dd4b68e41a946729c8fae34db7aff40b /lib/oxidized/manager.rb | |
parent | 9d217025fac3e335c308f02e7377e14ccfdc0e66 (diff) |
Add restful API
Diffstat (limited to 'lib/oxidized/manager.rb')
-rw-r--r-- | lib/oxidized/manager.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/manager.rb b/lib/oxidized/manager.rb index 0edf9e7..8c53d64 100644 --- a/lib/oxidized/manager.rb +++ b/lib/oxidized/manager.rb @@ -37,6 +37,7 @@ module Oxidized @model.merge! _model end def source= _source + return nil if @source.key? _source _source = Manager.load Config::SourceDir, _source return false if _source.empty? @source.merge! _source |