From d8fac87c883c5e9b8e8ac2a12d6397b19bbafb9d Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Thu, 7 Jun 2018 21:26:10 +0300 Subject: oops, actually add the class to source --- lib/oxidized/manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/manager.rb b/lib/oxidized/manager.rb index 892cdfc..8b34125 100644 --- a/lib/oxidized/manager.rb +++ b/lib/oxidized/manager.rb @@ -39,7 +39,7 @@ module Oxidized def add_source name return nil if @source.has_key? name - @source.merge Manager.load(Config::SourceDir, name) + @source.merge! Manager.load(Config::SourceDir, name) end def add_model name -- cgit v1.2.1